1. Caching and IdentityMap forum.hibernate.orgHi, We are developing a rich client (swing) on a client-server architecture (2-tier), and I decided, with Emmanuel's approval (http://forum.hibernate.org/viewtopic.php?t=930418), to use a single session for the whole application lifecycle. I know I have to be careful at managing the session (calling evict () for instance). I'll use optimistic locking to address concurrency (when saving). The main reason I want to ... |