Class ModelMutationHelper
java.lang.Object
org.hibernate.engine.jdbc.mutation.internal.ModelMutationHelper
Helper functionality related to model mutations
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkResults
(OperationResultChecker resultChecker, PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition) static PreparedStatement
delegateStatementPreparation
(PreparableMutationOperation jdbcMutation, GeneratedValuesMutationDelegate delegate, SharedSessionContractImplementor session) static boolean
identifiedResultsCheck
(PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition, MutationTarget<?> mutationTarget, Object id, SessionFactoryImplementor sessionFactory) static PreparedStatementDetails
standardPreparation
(PreparableMutationOperation jdbcMutation, GeneratedValuesMutationDelegate delegate, SharedSessionContractImplementor session) static PreparedStatement
standardStatementPreparation
(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session) static PreparedStatementGroup
toPreparedStatementGroup
(MutationType mutationType, MutationTarget<?> mutationTarget, GeneratedValuesMutationDelegate delegate, List<PreparableMutationOperation> mutations, SharedSessionContractImplementor session)
-
Method Details
-
checkResults
public static void checkResults(OperationResultChecker resultChecker, PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition) throws SQLException - Throws:
SQLException
-
identifiedResultsCheck
public static boolean identifiedResultsCheck(PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition, MutationTarget<?> mutationTarget, Object id, SessionFactoryImplementor sessionFactory)
-