mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
Remove LogLevel enum and associated code
This commit is contained in:
1 parent
513a61503e
commit
e79a5d4332
14 files changed
+39
-175
No files matched your search
+3
-12
@@ -5,8 +5,6 @@ import java.sql.Connection;
|
||||
import javax.persistence.PersistenceException;
|
||||
import javax.persistence.RollbackException;
|
||||
|
||||
import com.avaje.ebean.LogLevel;
|
||||
|
||||
/**
|
||||
* Transaction based on a java.sql.Connection supplied by an external
|
||||
* transaction manager such as Spring.
|
||||
@@ -29,21 +27,14 @@ public class ExternalJdbcTransaction extends JdbcTransaction {
|
||||
* </p>
|
||||
*/
|
||||
public ExternalJdbcTransaction(Connection connection) {
|
||||
super(null, true, LogLevel.NONE, connection, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Using the TransactionManager and its current LogLevel.
|
||||
*/
|
||||
public ExternalJdbcTransaction(String id, boolean explicit, Connection connection, TransactionManager manager) {
|
||||
super(id, explicit, manager.getTransactionLogLevel(), connection, manager);
|
||||
super(null, true, connection, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct will all explicit parameters.
|
||||
*/
|
||||
public ExternalJdbcTransaction(String id, boolean explicit, LogLevel logLevel, Connection connection, TransactionManager manager) {
|
||||
super(id, explicit, logLevel, connection, manager);
|
||||
public ExternalJdbcTransaction(String id, boolean explicit, Connection connection, TransactionManager manager) {
|
||||
super(id, explicit, connection, manager);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user