Uses of Interface
org.sql2o.connectionsources.ConnectionSource
-
Uses of ConnectionSource in org.sql2o
Modifier and TypeMethodDescriptionSql2o.getConnectionSource()
Gets theConnectionSource
that Sql2o uses internally to acquire database connections.Modifier and TypeMethodDescriptionSql2o.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.Sql2o.open
(ConnectionSource connectionSource) Opens a connection to the databasevoid
Sql2o.setConnectionSource
(ConnectionSource connectionSource) Sets theConnectionSource
that Sql2o uses internally to acquire database connections. -
Uses of ConnectionSource in org.sql2o.connectionsources
Modifier and TypeClassDescriptionclass
The default implementation ofConnectionSource
, Simply delegates all calls to specifiedDataSource
Created by nickl on 09.01.17.Modifier and TypeMethodDescriptionstatic ConnectionSource
ConnectionSources.join
(Connection connection) A ConnectionSource that will wrap externally managed connection with proxy that will omitConnection.close()
orConnection.commit()
calls.