Class SpringConnectionFactory
java.lang.Object
org.jdbi.v3.spring.SpringConnectionFactory
- All Implemented Interfaces:
ConnectionFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeConnection
(Connection connection) Closes a connection.Opens a connection.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.core.ConnectionFactory
getCleanableFor
-
Constructor Details
-
SpringConnectionFactory
-
-
Method Details
-
openConnection
Description copied from interface:ConnectionFactory
Opens a connection.- Specified by:
openConnection
in interfaceConnectionFactory
- Returns:
- A
Connection
object. - Throws:
SQLException
- if anything goes wrong
-
closeConnection
Description copied from interface:ConnectionFactory
Closes a connection.- Specified by:
closeConnection
in interfaceConnectionFactory
- Parameters:
connection
- AConnection
object.- Throws:
SQLException
- if anything goes wrong
-