Re: [Hibernate] Associationg a collection with 2 open sessions

2003-08-28 Thread Gavin King
It is an absolutely essential part of Hibernate's architecture that you don't share instances between concurrent transactions! > net.sf.hibernate.HibernateException: Illegal attempt to associate a > collection with two open sessions > > I get the preceding error when... > > A user issues a query

[Hibernate] Associationg a collection with 2 open sessions

2003-08-28 Thread Joseph Toth
net.sf.hibernate.HibernateException: Illegal attempt to associate a collection with two open sessions I get the preceding error when... A user issues a query to select an object holding a collection and at the same time another user updates that object. Is it true, that in the same SessionFacto