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 TypeMethodDescriptionvoid
closeConnection
(Connection conn) boolean
isUnwrappableAs
(Class unwrapType) boolean
<T> T
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
getDatabaseConnectionInfo, getDatabaseConnectionInfo
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoJdbcConnectionProvider
public NoJdbcConnectionProvider()
-
-
Method Details
-
getConnection
- Specified by:
getConnection
in interfaceConnectionProvider
- Throws:
SQLException
-
closeConnection
- Specified by:
closeConnection
in interfaceConnectionProvider
-
supportsAggressiveRelease
public boolean supportsAggressiveRelease()- Specified by:
supportsAggressiveRelease
in interfaceConnectionProvider
-
isUnwrappableAs
- Specified by:
isUnwrappableAs
in interfaceWrapped
-
unwrap
-