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 Summary
Constructors Constructor Description ApplicationContextConnectionProvider()Deprecated. -
Method Summary
Modifier and Type Method Description voidcloseConnection(Connection conn)Deprecated.ConnectiongetConnection()Deprecated.booleanisUnwrappableAs(Class arg0)Deprecated.booleansupportsAggressiveRelease()Deprecated.<T> Tunwrap(Class<T> arg0)Deprecated.
-
Constructor Details
-
ApplicationContextConnectionProvider
public ApplicationContextConnectionProvider()Deprecated.
-
-
Method Details
-
closeConnection
Deprecated.- Specified by:
closeConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Throws:
SQLException
-
getConnection
Deprecated.- Specified by:
getConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Throws:
SQLException
-
supportsAggressiveRelease
public boolean supportsAggressiveRelease()Deprecated.- Specified by:
supportsAggressiveReleasein interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider
-
isUnwrappableAs
Deprecated.- Specified by:
isUnwrappableAsin interfaceorg.hibernate.service.spi.Wrapped
-
unwrap
Deprecated.- Specified by:
unwrapin interfaceorg.hibernate.service.spi.Wrapped
-