public class SQLiteJDBCConnection extends JDBCConnectionBase
JDBCConnectionBase.DataSQLExceptionconn, connectionProvider, id, LOGGER, transaction| Constructor and Description |
|---|
SQLiteJDBCConnection(DataTransactionServices transaction,
java.sql.Connection conn,
java.lang.String id) |
SQLiteJDBCConnection(DataTransactionServices transaction,
java.sql.Connection conn,
java.lang.String id,
ConnectionProvider connectionProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
begin() |
void |
close() |
void |
commit() |
static JDBCConnection |
create(SQLiteHelper helper) |
java.sql.Statement |
createStatement() |
java.sql.Statement |
createStatement(java.lang.String sql) |
void |
execute(java.lang.String sql) |
void |
finish() |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql) |
void |
rollback() |
closeQuietly, dispose, get, getId, getMetaData, isInDataTransaction, isInTransactionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseQuietlypublic SQLiteJDBCConnection(DataTransactionServices transaction, java.sql.Connection conn, java.lang.String id)
public SQLiteJDBCConnection(DataTransactionServices transaction, java.sql.Connection conn, java.lang.String id, ConnectionProvider connectionProvider)
public static JDBCConnection create(SQLiteHelper helper) throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface JDBCConnectionclose in class JDBCConnectionBasejava.sql.SQLExceptionpublic void begin()
throws java.sql.SQLException
begin in interface JDBCConnectionbegin in class JDBCConnectionBasejava.sql.SQLExceptionpublic void commit()
throws java.sql.SQLException
commit in interface JDBCConnectioncommit in class JDBCConnectionBasejava.sql.SQLExceptionpublic void abort()
throws DataException
abort in interface DataTransactionServices.ConnectionService<java.sql.Connection>abort in class JDBCConnectionBaseDataExceptionpublic void finish()
throws DataException
finish in interface DataTransactionServices.ConnectionService<java.sql.Connection>finish in class JDBCConnectionBaseDataExceptionpublic void execute(java.lang.String sql)
throws java.sql.SQLException
execute in interface JDBCConnectionexecute in class JDBCConnectionBasejava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql)
throws java.sql.SQLException
prepareStatement in interface JDBCConnectionprepareStatement in class JDBCConnectionBasejava.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
rollback in interface JDBCConnectionrollback in class JDBCConnectionBasejava.sql.SQLExceptionpublic java.sql.Statement createStatement()
throws java.sql.SQLException
createStatement in interface JDBCConnectioncreateStatement in class JDBCConnectionBasejava.sql.SQLExceptionpublic java.sql.Statement createStatement(java.lang.String sql)
throws java.sql.SQLException
createStatement in interface JDBCConnectioncreateStatement in class JDBCConnectionBasejava.sql.SQLException