Package org.hibernate.engine.jdbc
Interface LobCreationContext
-
- All Known Subinterfaces:
EventSource
,SessionImplementor
,SharedSessionContractImplementor
- All Known Implementing Classes:
SessionDelegatorBaseImpl
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 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
.
-
-
-
Method Detail
-
execute
<T> T execute(LobCreationContext.Callback<T> callback)
Execute the given callback, making sure it has access to a viable JDBCConnection
.- Type Parameters:
T
- The Java type of the type of LOB being created. One ofBlob
,Clob
,NClob
- Parameters:
callback
- The callback to execute .- Returns:
- The LOB created by the callback.
-
-