Hmmm... Better review this and make sure we are in fact consitently treating CreateException as an application exception. Thanks for the clarification.
-----Original Message----- From: Adrian Brock [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 5:36 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] SLSB atomicity CreateException is an application exception. xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Rod Macpherson > Sent: 01 July 2003 17:56 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] SLSB atomicity > > > He is not getting an application error but rather an EJB create > exception so my assumption would be he does not need to catch and > rollback: set the right attributes (requires and requires existing > transaction) on those methods and let the container handle it. > > -----Original Message----- > From: Adrian Brock [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 8:44 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] SLSB atomicity > > > Catch the CreateException and setRollbackOnly() on the > session context. > > Regards, > Adrian > > xxxxxxxxxxxxxxxxxxxxxxxx > Adrian Brock > Director of Support > Back Office > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Ionel Gardais > > Sent: 01 July 2003 15:51 > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] SLSB atomicity > > > > > > Hi, > > > > I have a SLSB acting as a facade for all my CMP entities. In one of > > my SLSBmethods, I create two CMP beans. > > > > Is it possible to give this method an atomicity so if the first > > bean's creation fails, the second one shouldn't be created OR if > the second > > bean's creation fails, the first bean should be deleted ? > > > > thanks, > > ionel > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > > 1203_01/01 > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user