Can you maybe change your transaction settings? If you are wanting to "unlock" it then you obviously have a separate transaction.
Its also possible that instance per transaction or optimistic locking could help but I'm betting you just need to read up on J2EE transaction attributes or attend a training. -Andy > From: "Stefan Schuster" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 13 Feb 2004 14:48:18 +0100 (CET) > To: [EMAIL PROTECTED] > Subject: [JBoss-user] unlock entity Bean > > Hi, > > is it possible to unlock a entityBean explicit ? > I am having a deadlock situation here, because I need > to access an entityBean in some stateless session bean, > but the entityBean (the exact same instance, same PK) is > locked because it is used in another sessionBean at the same time. > > Any hints ? > > Regards, > > Stefan > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
