Package org.hibernate.engine.jdbc
Interface LobCreationContext.Callback<T>
-
- Enclosing interface:
- LobCreationContext
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public 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 TexecuteOnConnection(Connection connection)Perform whatever actions are necessary using the provided JDBCConnection.default Tfrom(Connection connection)
-
-
-
Method Detail
-
executeOnConnection
T executeOnConnection(Connection connection) throws SQLException
Perform whatever actions are necessary using the provided JDBCConnection.- Parameters:
connection- The JDBCConnection.- Returns:
- The created LOB.
- Throws:
SQLException- Indicates trouble accessing the JDBC driver to create the LOB
-
from
default T from(Connection connection) throws SQLException
- Throws:
SQLException
-
-