Class NoJdbcConnectionProvider
java.lang.Object
org.hibernate.reactive.provider.service.NoJdbcConnectionProvider
- All Implemented Interfaces:
Serializable,ConnectionProvider,Service,Wrapped
A dummy Hibernate
ConnectionProvider throws an
exception if a JDBC connection is requested.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseConnection(Connection conn) booleanisUnwrappableAs(Class unwrapType) boolean<T> TMethods 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
closeReadOnlyConnection, getDatabaseConnectionInfo, getDatabaseConnectionInfo, getReadOnlyConnection, handlesConnectionReadOnly, handlesConnectionSchema
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoJdbcConnectionProvider
public NoJdbcConnectionProvider()
-
-
Method Details
-
getConnection
- Specified by:
getConnectionin interfaceConnectionProvider- Throws:
SQLException
-
closeConnection
- Specified by:
closeConnectionin interfaceConnectionProvider
-
supportsAggressiveRelease
public boolean supportsAggressiveRelease()- Specified by:
supportsAggressiveReleasein interfaceConnectionProvider
-
isUnwrappableAs
- Specified by:
isUnwrappableAsin interfaceWrapped
-
unwrap
-