Class ApplicationContextConnectionProvider

java.lang.Object
org.jasig.portlet.attachment.hibernate.ApplicationContextConnectionProvider
All Implemented Interfaces:
Serializable, org.hibernate.engine.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.Service, org.hibernate.service.spi.Wrapped

@Deprecated
public class ApplicationContextConnectionProvider
extends Object
implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
Deprecated.
Because this class is not necessary for Import/Export based on Gradle
When the hibernate3-maven-plugin:hbm2ddl goal is executed, this class provides connections from the Spring ApplicationContext, which is capable of using encrypted database connection settings (in datasource.properties).
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • closeConnection

      public void closeConnection​(Connection conn) throws SQLException
      Deprecated.
      Specified by:
      closeConnection in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
      Throws:
      SQLException
    • getConnection

      public Connection getConnection() throws SQLException
      Deprecated.
      Specified by:
      getConnection in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
      Throws:
      SQLException
    • supportsAggressiveRelease

      public boolean supportsAggressiveRelease()
      Deprecated.
      Specified by:
      supportsAggressiveRelease in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
    • isUnwrappableAs

      public boolean isUnwrappableAs​(Class arg0)
      Deprecated.
      Specified by:
      isUnwrappableAs in interface org.hibernate.service.spi.Wrapped
    • unwrap

      public <T> T unwrap​(Class<T> arg0)
      Deprecated.
      Specified by:
      unwrap in interface org.hibernate.service.spi.Wrapped