1. Persisting entity to database with JPA and autogenerated primary key identity stackoverflow.comI have a full JEE web application with a presentation layer and a database. I'm using derby with glassfish 3.1 and JPA to handle persistence. I've created a Read ok but ... |
2. Identity of hibernate entity being retrieved coderanch.comHi, I'm trying to minimize trips to the database (aren't we all?) My scenario is that I have an entity of type MyObject that I am retrieving as part of a composition of another object. In other words, the MyLargeCompositeObject instance that I am retrieving contains an instance of MyObject. Later on (but in the same transaction/session) I want to update ... |
3. second level cache and entity identity forum.hibernate.org |