Class SpringConnectionFactory

java.lang.Object
org.jdbi.v3.spring5.SpringConnectionFactory
All Implemented Interfaces:
org.jdbi.v3.core.ConnectionFactory

public class SpringConnectionFactory extends Object implements org.jdbi.v3.core.ConnectionFactory
  • Constructor Details

    • SpringConnectionFactory

      public SpringConnectionFactory(DataSource dataSource)
  • Method Details

    • openConnection

      public Connection openConnection() throws SQLException
      Specified by:
      openConnection in interface org.jdbi.v3.core.ConnectionFactory
      Throws:
      SQLException
    • closeConnection

      public void closeConnection(Connection connection) throws SQLException
      Specified by:
      closeConnection in interface org.jdbi.v3.core.ConnectionFactory
      Throws:
      SQLException