1. Rely on Hibernate cache, or store in session forum.hibernate.orgWondering what the recommended approach would be in a web application that constantly refers to data in a single table - like a user table. Should I: 1) Put the individual pieces of data into the container's (Tomcat) session and refer to them there. 2) Store the Hibernate ID - that references the proper Hibernate persistant class - in the Tomcat ... |
2. Session cache - why not store only dirty objects? forum.hibernate.org |