public interface JDBCConnection extends DataTransactionServices.ConnectionService<java.sql.Connection>
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
close() |
void |
closeQuietly() |
static void |
closeQuietly(JDBCConnection conn) |
void |
commit() |
java.sql.Statement |
createStatement() |
java.sql.Statement |
createStatement(java.lang.String sql) |
void |
execute(java.lang.String sql) |
java.sql.Connection |
get() |
java.sql.DatabaseMetaData |
getMetaData() |
boolean |
isInDataTransaction() |
boolean |
isInTransaction() |
java.sql.PreparedStatement |
prepareStatement(java.lang.String insertSQL) |
void |
rollback() |
abort, finish, getId
dispose
static void closeQuietly(JDBCConnection conn)
java.sql.Statement createStatement() throws java.sql.SQLException
java.sql.SQLException
java.sql.Statement createStatement(java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
void close() throws java.sql.SQLException
java.sql.SQLException
void closeQuietly()
boolean isInTransaction()
boolean isInDataTransaction()
void begin() throws java.sql.SQLException
java.sql.SQLException
void rollback() throws java.sql.SQLException
java.sql.SQLException
void commit() throws java.sql.SQLException
java.sql.SQLException
java.sql.Connection get()
get
in interface DataTransactionServices.ConnectionService<java.sql.Connection>
void execute(java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
java.sql.PreparedStatement prepareStatement(java.lang.String insertSQL) throws java.sql.SQLException
java.sql.SQLException
java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException
java.sql.SQLException