Package org.hibernate.sql.exec.spi
Interface PreAction
- All Superinterfaces:
SecondaryAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An action to be performed before a PrimaryOperation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
performPreAction
(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext) Perform the action.
-
Method Details
-
performPreAction
void performPreAction(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext) Perform the action. Generally the action should use the passedjdbcStatementAccess
to interact with the database, although thejdbcConnection
can be used to create specialized statements, access the database metadata, etc.- Parameters:
jdbcStatementAccess
- Access to a JDBC Statement object which may be used to perform the action.jdbcConnection
- The JDBC Connection.executionContext
- Access to contextual information useful while executing.
-