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 Details

    • NuxeoConnectionProvider

      public NuxeoConnectionProvider()
  • Method Details

    • configure

      public void configure(Map props)
      Specified by:
      configure in interface org.hibernate.service.spi.Configurable
      Overrides:
      configure in class org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl
    • supportsAggressiveRelease

      public boolean supportsAggressiveRelease()
      Specified by:
      supportsAggressiveRelease in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
      Overrides:
      supportsAggressiveRelease in class org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl