What does persistence object means in Hibernate architecture?

后端 未结 6 1847
我寻月下人不归
我寻月下人不归 2021-01-30 06:55

Hibernate is a persistence framework which is used to persist data from Java environment to database.

I am so confused.. if we persist a

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-30 07:30

    Persistent object is nothing but an instance of POJO class. And POJO class is nothing but a class that represents a table. And Hibernate always monitoring that persistent object. Whenever you manipulate that object or you made any changes in that object, Hibernate will do the same in that table (that one represent by the POJO class). that all handle by the hibernate. So in sort this is the one of the feature of hibernate framework.

提交回复
热议问题