Commit succeeds unless an exception occurs. Without an exception, the transaction will be committed, otherwise rolledback.
What's the specific transaction I should keep an eye out for?
You mean exception?
Any exception terminates the transaction. So ORMQueryExecutionException is the one which you will probably run into mostly. Also, ORMEntityValidationException and ORMConcurrencyException can be thrown.
Commit succeeds unless an exception occurs. Without an exception, the transaction will be committed, otherwise rolledback.
What's the specific transaction I should keep an eye out for?
You mean exception?
Any exception terminates the transaction. So ORMQueryExecutionException is the one which you will probably run into mostly. Also, ORMEntityValidationException and ORMConcurrencyException can be thrown.
Yes... funny thing is I was thinking EXCEPTION when I wrote transaction.. my fault..