B
B
Biaci_Anj2021-07-19 21:38:02
Hibernate
Biaci_Anj, 2021-07-19 21:38:02

Do I understand how Persistent Context ( Hibernate ) works?

Entity Manager is a wrapper that uses session hibernate to persist the entity. The Session has a Persistent Context into which it stores objects in the cache. Since the session is closed every time after a transaction, the cache is cleared every time after it.
This is the first level of the Hibernate cache.

I would be very glad if you could tell me if the above is correct and correct me if not.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question