Thanks, David and Lennart for your help.
 
After I catch CreateException and call setRollbackOnly, the problem is solved.
 
Actually, I thought CreateException should be a system exception and should cause a rollback to the transaction. But it is actually an Application Exception.
 
Thanks for your help.
 
Fan

Reply via email to