Class MockConnectionProvider
java.lang.Object
org.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl
org.hibernate.tool.orm.jbt.internal.util.MockConnectionProvider
- All Implemented Interfaces:
Serializable,org.hibernate.engine.jdbc.connections.spi.ConnectionProvider,org.hibernate.service.Service,org.hibernate.service.spi.Wrapped
public class MockConnectionProvider
extends org.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl
isUnwrappableAs, supportsAggressiveRelease, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
getDatabaseConnectionInfo, getDatabaseConnectionInfo
-
Constructor Details
-
MockConnectionProvider
public MockConnectionProvider()
-
-
Method Details
-
getConnection
- Specified by:
getConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Overrides:
getConnectionin classorg.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl- Throws:
SQLException
-
closeConnection
- Specified by:
closeConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Overrides:
closeConnectionin classorg.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl- Throws:
SQLException
-