io.ebeaninternal.server.transaction.AutoCommitJdbcTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.transaction;
import java.sql.Connection;
/**
* AutoCommit friendly Transaction.
*
* Skips actual commit and rollback as these are performed automatically.
*/
public class AutoCommitJdbcTransaction extends JdbcTransaction {
public AutoCommitJdbcTransaction(String id, boolean explicit, Connection connection, TransactionManager manager) {
super(id, explicit, connection, manager);
}
@Override
protected void checkAutoCommit(Connection connection) {
// do nothing as autoCommit
}
@Override
protected void performRollback() {
// do nothing as autoCommit
}
@Override
protected void performCommit() {
// do nothing as autoCommit
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy