transient « Load « JPA Q&A





1. Loading Hibernate property from an external source (HashMap)    stackoverflow.com

I have a Message object associated with a User object (user_from and user_to). I persist the Message instances into a database using Hibernate (with JPA annotations) and the user_id is persisted. The ...

2. Is it possible to load an object, it transient state from the get go?    stackoverflow.com

When querying for a object by id or returning a list of objects using Hibernate, is it possible to tell hibernate to retrieve the object(s) in transient state. I don't want to ...

3. connecting loaded objects to transient 'managers'    forum.hibernate.org

When I load objects from the DB, I want to hook them up to transient 'managers.' How do I do this? In an example, my persistent classes are Auction and Bids; each Auction has a set of Bids. There are also transient classes AuctionManager and BidManager, which hold collections of the respective types of objects. A BidManager is used, for example, ...