#991 ENH: Add forUpdateNoWait() and forUpdateSkipLocked() options ... #528 ENH: Improve exception handling

This commit is contained in:
Rob Bygrave
2017-03-13 20:50:22 +13:00
parent a3dbd4538f
commit c8d01828b3
49 changed files with 985 additions and 336 deletions
@@ -1,7 +1,6 @@
package io.ebeaninternal.server.transaction;
import javax.persistence.PersistenceException;
import javax.persistence.RollbackException;
import java.sql.Connection;
/**
@@ -43,7 +42,7 @@ public class ExternalJdbcTransaction extends JdbcTransaction {
* </p>
*/
@Override
public void commit() throws RollbackException {
public void commit() {
throw new PersistenceException("This is an external transaction so must be committed externally");
}