Interface JdbcOperation
- All Known Subinterfaces:
JdbcMutation, JdbcMutationOperation, JdbcOperationQuery, JdbcOperationQueryAnonBlock, JdbcOperationQueryCall, JdbcOperationQueryInsert, JdbcOperationQueryMutation, JdbcSelect, PrimaryOperation
- All Known Implementing Classes:
AbstractJdbcMutation, JdbcDeleteMutation, JdbcInsertMutation, JdbcUpdateMutation, MergeOperation, UpsertOperation
A command to perform through JDBC, normally with a
PreparedStatement or CallableStatement.
The command text is ordinarily SQL, but may use another language understood by the configured JDBC driver. Likewise, affected table names may identify backend-equivalent query spaces such as document collections.
Custom SQL AST translators supply operations to Hibernate through
SqlAstTranslator.translate(JdbcParameterBindings, QueryOptions). Build
query operations with JdbcOperations; do not implement operation contracts
or instantiate Hibernate's internal implementations.
- Since:
- 8.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe relational tables or backend-equivalent query spaces referred to by this operation.List<? extends JdbcParameterBinder> The list of parameter binders for the generated PreparedStatement.The command text to execute through JDBC.
-
Method Details
-
getSqlString
String getSqlString()The command text to execute through JDBC. This is ordinarily SQL, but may use another language understood by the configured JDBC driver. -
getAffectedTableNames
-
getParameterBinders
List<? extends JdbcParameterBinder> getParameterBinders()The list of parameter binders for the generated PreparedStatement.
-