John Ormerod
2007-10-11 16:36:45 UTC
Hello
I am trying to get the required actions correct in this situation - can't hide behind a stack trace any longer.
According to the IBM book on JMS with WebSphere (Kareem Yusuf): "a TransactionRolledBackException must be thrown when a call to Session.commit results in a rollback of the current transaction".
I am having to assume that this is the same as saying "when a commit fails, the transaction gets rolled back and a TransactionRolledBackException must be thrown".
Is my assumption correct, or are things more subtle?
Regards, John
I am trying to get the required actions correct in this situation - can't hide behind a stack trace any longer.
According to the IBM book on JMS with WebSphere (Kareem Yusuf): "a TransactionRolledBackException must be thrown when a call to Session.commit results in a rollback of the current transaction".
I am having to assume that this is the same as saying "when a commit fails, the transaction gets rolled back and a TransactionRolledBackException must be thrown".
Is my assumption correct, or are things more subtle?
Regards, John