[jboss-user] [EJB 3.0] - Re: Transaction rolled back question

yilmaz_ do-not-reply at jboss.com
Fri Nov 16 10:08:11 EST 2007


if an excetion occurs container rollbacks automatically.
if you want to hold the state of transaction use UserTransaction 
and this is not a good idea to catch exceptions
anonymous wrote : try{...}
  | catch(SQLEXception e){
  | throw new RuntimeException(e);//softening the exception
  | }
can you publish dao.recordError(messageID); methods code.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105505#4105505

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105505



More information about the jboss-user mailing list