public class NuxeoConnectionProvider extends Object implements org.hibernate.connection.ConnectionProvider
| Modifier and Type | Field and Description |
|---|---|
protected DataSource |
ds |
| Constructor and Description |
|---|
NuxeoConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeConnection(Connection connection) |
void |
configure(Properties props) |
Connection |
getConnection() |
boolean |
supportsAggressiveRelease() |
protected DataSource ds
public NuxeoConnectionProvider()
public void configure(Properties props)
configure in interface org.hibernate.connection.ConnectionProviderpublic Connection getConnection() throws SQLException
getConnection in interface org.hibernate.connection.ConnectionProviderSQLExceptionpublic void closeConnection(Connection connection) throws SQLException
closeConnection in interface org.hibernate.connection.ConnectionProviderSQLExceptionpublic void close() throws org.hibernate.HibernateException
close in interface org.hibernate.connection.ConnectionProviderorg.hibernate.HibernateExceptionpublic boolean supportsAggressiveRelease()
supportsAggressiveRelease in interface org.hibernate.connection.ConnectionProviderCopyright © 2019 Nuxeo. All rights reserved.