In Instance Per Transaction container each transaction gets its own cache of instances, i.e. each one get its own copy of persistent data. And, thus, allows different transactions to access the same persistence data at the same time.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stephane Nicoll > Sent: Thursday, January 22, 2004 3:12 PM > To: JBoss user (E-mail) > Subject: [JBoss-user] information regarding locking policies > > Hello list, > > I sent a mail a while ago regarding tx lock and got no > response so far. > http://www.mail-archive.com/[EMAIL PROTECTED]/m > sg32131.html > > As a quick recall, we are creating entities X. For this we > need to test that an instance of entity A,B,C,D and E exist > (that is X could be crated only if an instance of A with > particular key exist on the DB, etc). > > So A,B,C,D and E are READ-ONLY. We noticed that using an MDB > to create our entity X, nothing was done in parallel. > > We changed to the one instance per transaction container > configuration and it worked quite fine. I would like to have > more detail about this container. Is it as safe as the > default one. What coult be the transaction problem? > > Regards, > > Stephane > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 Premiere > Conference on Open Tools Development and Integration See the > breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user