Hibernate version:3.x
Hi folks,
We have a question concerning the Hibernate session-cache in conjunction with garbage collection: After an object is loaded by a session, it is automatically stored in the session-cache. If the application holds no more references to that object, can the cache be garbage collected? That would imply that the cache uses internally weak-references. If not so, we might run into a memory problem, because our session is long-living due to application constraints (GUI).
For any information we are very grateful!
Greetings,
Sandro & Markus
|