All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.transaction.AutoCommitJdbcTransaction Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
package io.ebeaninternal.server.transaction;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 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) throws SQLException { // do nothing as autoCommit } @Override protected void performRollback() throws SQLException { // do nothing as autoCommit } @Override protected void performCommit() throws SQLException { // do nothing as autoCommit } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy