Package org.hibernate.sql.model
Interface PreparableMutationOperation
- All Superinterfaces:
MutationOperation
- All Known Subinterfaces:
JdbcMutationOperation
- All Known Implementing Classes:
AbstractJdbcMutation
,JdbcDeleteMutation
,JdbcInsertMutation
,JdbcUpdateMutation
,MergeOperation
,UpsertOperation
MutationOperation that is capable of being handled as a
JDBC
PreparedStatement
Person ( PERSON, PERSON_SUPP )
- PERSON_SUPP is optional secondary table-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canBeBatched
(BatchKey batchKey, int batchSize) Series of opt-out checks for whether the operation can be handled as part of a batch.The expected outcome of executionGet the list of parameter binders for the generated PreparedStatementThe SQL to be used when creating the PreparedStatementboolean
Whether the operation is callableMethods inherited from interface org.hibernate.sql.model.MutationOperation
findValueDescriptor, getJdbcValueDescriptor, getMutationTarget, getMutationType, getTableDetails
-
Method Details
-
getSqlString
String getSqlString()The SQL to be used when creating the PreparedStatement -
getParameterBinders
List<JdbcParameterBinder> getParameterBinders()Get the list of parameter binders for the generated PreparedStatement -
isCallable
boolean isCallable()Whether the operation is callable -
getExpectation
Expectation getExpectation()The expected outcome of execution -
canBeBatched
Series of opt-out checks for whether the operation can be handled as part of a batch.- Implementation Note:
- This does not account for whether batching is enabled or not on the factory, just whether we can potentially batch it relative to the operation itself
-