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.
The callback contract for making use of the JDBC
Connection
.-
Method Summary
Modifier and TypeMethodDescriptionexecuteOnConnection
(Connection connection) Perform whatever actions are necessary using the provided JDBCConnection
.default T
from
(Connection connection)
-
Method Details
-
executeOnConnection
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
- Throws:
SQLException
-