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, getIddisposestatic void closeQuietly(JDBCConnection conn)
java.sql.Statement createStatement()
throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.Statement createStatement(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionvoid close()
throws java.sql.SQLException
java.sql.SQLExceptionvoid closeQuietly()
boolean isInTransaction()
boolean isInDataTransaction()
void begin()
throws java.sql.SQLException
java.sql.SQLExceptionvoid rollback()
throws java.sql.SQLException
java.sql.SQLExceptionvoid commit()
throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.Connection get()
get in interface DataTransactionServices.ConnectionService<java.sql.Connection>void execute(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.PreparedStatement prepareStatement(java.lang.String insertSQL)
throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.DatabaseMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLException