Package org.hibernate.engine.jdbc
Interface LobCreationContext
- All Known Subinterfaces:
EventSource
,SessionImplementor
,SharedSessionContractImplementor
- All Known Implementing Classes:
AbstractDelegateSessionImplementor
,AbstractSharedSessionContract
,SessionDelegatorBaseImpl
,SessionImpl
,SharedSessionDelegatorBaseImpl
,StatelessSessionImpl
,ToOneDelegateSessionImplementor
public interface LobCreationContext
Provides callback access into the context in which the LOB is to be created.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The callback contract for making use of the JDBCConnection
. -
Method Summary
Modifier and TypeMethodDescription<T> T
execute
(LobCreationContext.Callback<T> callback) Execute the given callback, making sure it has access to a viable JDBCConnection
.default <T> T
fromContext
(LobCreationContext.Callback<T> callback)
-
Method Details
-
execute
Execute the given callback, making sure it has access to a viable JDBCConnection
. -
fromContext
-