Package org.nuxeo.ecm.core.persistence
Class NuxeoConnectionProvider
java.lang.Object
org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl
org.nuxeo.ecm.core.persistence.NuxeoConnectionProvider
- All Implemented Interfaces:
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 NuxeoConnectionProvider
extends org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl
ConnectionProvider for Hibernate that looks up the datasource from the Nuxeo container.
- Since:
- 5.7
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl
closeConnection, getConnection, getDataSource, isUnwrappableAs, setDataSource, setJndiService, stop, unwrap
-
Constructor Details
-
NuxeoConnectionProvider
public NuxeoConnectionProvider()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceorg.hibernate.service.spi.Configurable
- Overrides:
configure
in classorg.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl
-
supportsAggressiveRelease
public boolean supportsAggressiveRelease()- Specified by:
supportsAggressiveRelease
in interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider
- Overrides:
supportsAggressiveRelease
in classorg.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl
-