|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jolbox.bonecp.provider.BoneCPConnectionProvider
public class BoneCPConnectionProvider
Hibernate Connection Provider.
| Constructor Summary | |
|---|---|
BoneCPConnectionProvider()
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
closeConnection(java.sql.Connection conn)
|
void |
configure(java.util.Properties props)
|
java.lang.ClassLoader |
getClassLoader()
Returns the classloader to use when attempting to load the jdbc driver (if a value is given). |
java.sql.Connection |
getConnection()
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Specifies the classloader to use when attempting to load the jdbc driver (if a value is given). |
boolean |
supportsAggressiveRelease()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoneCPConnectionProvider()
| Method Detail |
|---|
public void close()
throws org.hibernate.HibernateException
close in interface org.hibernate.connection.ConnectionProviderorg.hibernate.HibernateExceptionConnectionProvider.close()
public void closeConnection(java.sql.Connection conn)
throws java.sql.SQLException
closeConnection in interface org.hibernate.connection.ConnectionProviderjava.sql.SQLExceptionConnectionProvider.closeConnection(java.sql.Connection)
public void configure(java.util.Properties props)
throws org.hibernate.HibernateException
configure in interface org.hibernate.connection.ConnectionProviderorg.hibernate.HibernateExceptionConnectionProvider.configure(java.util.Properties)
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface org.hibernate.connection.ConnectionProviderjava.sql.SQLExceptionConnectionProvider.getConnection()public boolean supportsAggressiveRelease()
supportsAggressiveRelease in interface org.hibernate.connection.ConnectionProviderConnectionProvider.supportsAggressiveRelease()public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - the classLoader to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||