Package org.hibernate.engine.jdbc
Interface LobCreationContext.Callback<T>
-
- Enclosing interface:
- LobCreationContext
public 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 TexecuteOnConnection(java.sql.Connection connection)Perform whatever actions are necessary using the provided JDBCConnection.
-
-
-
Method Detail
-
executeOnConnection
T executeOnConnection(java.sql.Connection connection) throws java.sql.SQLException
Perform whatever actions are necessary using the provided JDBCConnection.- Parameters:
connection- The JDBCConnection.- Returns:
- The created LOB.
- Throws:
java.sql.SQLException- Indicates trouble accessing the JDBC driver to create the LOB
-
-