Uses of Class
org.sql2o.Connection
Packages that use Connection
-
Uses of Connection in org.sql2o
Methods in org.sql2o that return ConnectionModifier and TypeMethodDescriptionSql2o.beginTransaction()
Begins a transaction with isolation levelConnection.TRANSACTION_READ_COMMITTED
.Sql2o.beginTransaction
(int isolationLevel) Begins a transaction with the given isolation level.Sql2o.beginTransaction
(ConnectionSource connectionSource) Begins a transaction with isolation levelConnection.TRANSACTION_READ_COMMITTED
.Sql2o.beginTransaction
(ConnectionSource connectionSource, int isolationLevel) Begins a transaction with the given isolation level.Connection.commit
(boolean closeConnection) Query.executeBatch()
Query.executeUpdate()
Query.getConnection()
Sql2o.open()
Opens a connection to the databaseSql2o.open
(ConnectionSource connectionSource) Opens a connection to the databaseConnection.rollback
(boolean closeConnection) Connection.setRollbackOnClose
(boolean rollbackOnClose) Connection.setRollbackOnException
(boolean rollbackOnException) Methods in org.sql2o with parameters of type ConnectionModifier and TypeMethodDescriptionvoid
StatementRunnable.run
(Connection connection, Object argument) StatementRunnableWithResult.run
(Connection connection, Object argument) Constructors in org.sql2o with parameters of type ConnectionModifierConstructorDescriptionQuery
(Connection connection, String queryText, boolean returnGeneratedKeys) Query
(Connection connection, String queryText, String[] columnNames)