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 Classes Modifier and Type Interface Description static interface
LobCreationContext.Callback<T>
The callback contract for making use of the JDBCConnection
.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <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 Detail
-
execute
<T> T execute(LobCreationContext.Callback<T> callback)
Execute the given callback, making sure it has access to a viable JDBCConnection
.
-
fromContext
default <T> T fromContext(LobCreationContext.Callback<T> callback)
-
-