com.alibaba.druid.support.hibernate
类 DruidConnectionProvider

java.lang.Object
  继承者 com.alibaba.druid.support.hibernate.DruidConnectionProvider
所有已实现的接口:
Serializable, org.hibernate.service.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.service.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.Stoppable

另请参见:
序列化表格

构造方法摘要
DruidConnectionProvider()
           
 
方法摘要
 void closeConnection(Connection conn)
           
 void configure(Map configurationValues)
           
 Connection getConnection()
           
 boolean isUnwrappableAs(Class unwrapType)
           
 void stop()
           
 boolean supportsAggressiveRelease()
           
<T> T
unwrap(Class<T> unwrapType)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DruidConnectionProvider

public DruidConnectionProvider()
方法详细信息

isUnwrappableAs

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

unwrap

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

getConnection

public Connection getConnection()
                         throws SQLException
指定者:
接口 org.hibernate.service.jdbc.connections.spi.ConnectionProvider 中的 getConnection
抛出:
SQLException

closeConnection

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

supportsAggressiveRelease

public boolean supportsAggressiveRelease()
指定者:
接口 org.hibernate.service.jdbc.connections.spi.ConnectionProvider 中的 supportsAggressiveRelease

configure

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

stop

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


Copyright © 2013-2014 Alibaba Group. All Rights Reserved.