[jboss-dev-forums] [Design of JBoss jBPM] - Re: Major transaction problem

tom.baeyens@jboss.com do-not-reply at jboss.com
Tue Mar 6 15:32:44 EST 2007


from the hibernate reference 

"
Rolling back the database transaction doesn't put your business objects back into the state they were at the start of the transaction. This means the database state and the business objects do get out of sync. Usually this is not a problem, because exceptions are not recoverable and you have to start over after rollback anyway.
"

so if there is a rollback, you (or I) should throw away the session and create a new one.

can you find how we could fix this ?

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

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



More information about the jboss-dev-forums mailing list