Package org.hibernate.sql.model
Interface PreparableMutationOperation
-
- All Superinterfaces:
MutationOperation
- All Known Subinterfaces:
JdbcMutationOperation
- All Known Implementing Classes:
AbstractJdbcMutation
,JdbcDeleteMutation
,JdbcInsertMutation
,JdbcUpdateMutation
,MergeOperation
,UpsertOperation
public interface PreparableMutationOperation extends MutationOperation
MutationOperation that is capable of being handled as a JDBCPreparedStatement
Person ( PERSON, PERSON_SUPP ) - PERSON_SUPP is optional secondary table
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
canBeBatched(BatchKey batchKey, int batchSize)
Series of opt-out checks for whether the operation can be handled as part of a batch.Expectation
getExpectation()
The expected outcome of executionList<JdbcParameterBinder>
getParameterBinders()
Get the list of parameter binders for the generated PreparedStatementString
getSqlString()
The SQL to be used when creating the PreparedStatementboolean
isCallable()
Whether the operation is callable-
Methods inherited from interface org.hibernate.sql.model.MutationOperation
findValueDescriptor, getJdbcValueDescriptor, getMutationTarget, getMutationType, getTableDetails
-
-
-
-
Method Detail
-
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
default boolean canBeBatched(BatchKey batchKey, int batchSize)
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
-
-