Uses of Interface
org.sql2o.connectionsources.ConnectionSource
Packages that use ConnectionSource
-
Uses of ConnectionSource in org.sql2o
Methods in org.sql2o that return ConnectionSourceModifier and TypeMethodDescriptionSql2o.getConnectionSource()
Gets theConnectionSource
that Sql2o uses internally to acquire database connections.Methods in org.sql2o with parameters of type ConnectionSourceModifier 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
Classes in org.sql2o.connectionsources that implement ConnectionSourceModifier and TypeClassDescriptionclass
The default implementation ofConnectionSource
, Simply delegates all calls to specifiedDataSource
Created by nickl on 09.01.17.Methods in org.sql2o.connectionsources that return ConnectionSourceModifier and TypeMethodDescriptionstatic ConnectionSource
ConnectionSources.join
(Connection connection) A ConnectionSource that will wrap externally managed connection with proxy that will omitConnection.close()
orConnection.commit()
calls.