java - Is the data queried by Hibernate stored in the session?
習慣沉默
習慣沉默 2017-05-17 10:04:34
0
1
416

I just learned Hibernate for a while, but after learning about Java serialization, I learned that Hibernate's persistence is serialized into memory, and the last time the data is taken out is deserialization. But I have a question, Hibernate's get and other queries Is it stored in memory through serialization? ? But why does Hibernate's Load method take it out from the session first? ? I am very curious about whether the Hibernate data is persisted in the memory or in the session after it is queried? If it is stored in memory, why is the load method taken out from the session? If it is stored in the session, why is persistence said to be serialized and stored in memory? I have just come into contact with Hibernate for a while. Please give me some advice. Thank you very much! ! !

習慣沉默
習慣沉默

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!