[JBoss-user] [Persistence CMP/JBoss] - Re: catch JBossTransactionRolledBackException during optimis

2004-07-17 Thread loubyansky
As described how to catch rollback exception in my previous post in this thread. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842474#3842474 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842474

[JBoss-user] [Persistence CMP/JBoss] - Re: catch JBossTransactionRolledBackException during optimis

2004-07-16 Thread davidmboon
I am having the same problem | 2004.07.16 08:58:30.609 EDT INFO [STDOUT] org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=DBOON1//197, BranchQual=] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.ejb.EJBException: Update

[JBoss-user] [Persistence CMP/JBoss] - Re: catch JBossTransactionRolledBackException during optimis

2004-07-14 Thread loubyansky
First, JDBCOptimisticLock class is deprecated. Just use NoLock and optimistic locking config in jbosscmp-jdbc.xml You could perform the work that might be rolled back due to optimistic locking failure in a method with RequiresNew transaction attribute, catch the exception in the method that