Title: RE: [JBoss-user] transaction rollback

            getSessionContext().setRollbackOnly();

-----Original Message-----
From: Ionel Gardais [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 12:54 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] transaction rollback


Hi,

I didn't notice this before I read the JBoss3.0QuickStart guide but I've
specified a "Required" trans attribute to my beans.

For example, my transaction atomicity is to update the database and to
send a JMS message to the client to notify the update.
If any of these operations fail, I'd like to rollback the whol.

Is there a method to call to ask for a rollback ?

thanks,
ionel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to