类 DruidConnectionProvider

java.lang.Object
com.alibaba.druid.support.hibernate.DruidConnectionProvider
所有已实现的接口:
Serializable, org.hibernate.engine.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.Service, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.Stoppable, org.hibernate.service.spi.Wrapped

public class DruidConnectionProvider extends Object implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.Stoppable
另请参阅:
  • 构造器详细资料

    • DruidConnectionProvider

      public DruidConnectionProvider()
  • 方法详细资料

    • isUnwrappableAs

      public boolean isUnwrappableAs(Class unwrapType)
      指定者:
      isUnwrappableAs 在接口中 org.hibernate.service.spi.Wrapped
    • unwrap

      public <T> T unwrap(Class<T> unwrapType)
      指定者:
      unwrap 在接口中 org.hibernate.service.spi.Wrapped
    • getConnection

      public Connection getConnection() throws SQLException
      指定者:
      getConnection 在接口中 org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
      抛出:
      SQLException
    • closeConnection

      public void closeConnection(Connection conn) throws SQLException
      指定者:
      closeConnection 在接口中 org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
      抛出:
      SQLException
    • supportsAggressiveRelease

      public boolean supportsAggressiveRelease()
      指定者:
      supportsAggressiveRelease 在接口中 org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
    • configure

      public void configure(Map configurationValues)
      指定者:
      configure 在接口中 org.hibernate.service.spi.Configurable
    • stop

      public void stop()
      指定者:
      stop 在接口中 org.hibernate.service.spi.Stoppable