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

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

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

import io.ebeaninternal.api.SpiTransaction;

import java.sql.Connection;

/**
 * AutoCommit based TransactionManager.
 * 

* Intended to be used if when autoCommit mode is desired. */ public class AutoCommitTransactionManager extends TransactionManager { public AutoCommitTransactionManager(TransactionManagerOptions options) { super(options); } /** * Create an autoCommit based Transaction. */ @Override protected SpiTransaction createTransaction(boolean explicit, Connection c, long id) { return new AutoCommitJdbcTransaction(prefix + id, explicit, c, this); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy