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.ConnectionProvider
public Connection getConnection() throws SQLException
getConnection
in interface org.hibernate.connection.ConnectionProvider
SQLException
public void closeConnection(Connection connection) throws SQLException
closeConnection
in interface org.hibernate.connection.ConnectionProvider
SQLException
public void close() throws org.hibernate.HibernateException
close
in interface org.hibernate.connection.ConnectionProvider
org.hibernate.HibernateException
public boolean supportsAggressiveRelease()
supportsAggressiveRelease
in interface org.hibernate.connection.ConnectionProvider
Copyright © 2015 Nuxeo SA. All rights reserved.