Package org.jdbi.v3.spring5
Class SpringConnectionFactory
java.lang.Object
org.jdbi.v3.spring5.SpringConnectionFactory
- All Implemented Interfaces:
ConnectionFactory
@Deprecated(forRemoval=true,
since="3.47.0")
public class SpringConnectionFactory
extends Object
implements ConnectionFactory
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorDescriptionSpringConnectionFactory
(DataSource dataSource) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
closeConnection
(Connection connection) Deprecated, for removal: This API element is subject to removal in a future version.Closes a connection.Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
openConnection
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ConnectionFactory
Opens a connection.- Specified by:
openConnection
in interfaceConnectionFactory
- Returns:
- A
Connection
object. - Throws:
SQLException
- if anything goes wrong
-
closeConnection
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ConnectionFactory
Closes a connection.- Specified by:
closeConnection
in interfaceConnectionFactory
- Parameters:
connection
- AConnection
object.- Throws:
SQLException
- if anything goes wrong
-
org.jdbi.v3.spring
module with Spring 6.x or newer.