Class ModelMutationHelper
java.lang.Object
org.hibernate.engine.jdbc.mutation.internal.ModelMutationHelper
Helper functionality related to model mutations
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckResults(OperationResultChecker resultChecker, PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition) static PreparedStatementdelegateStatementPreparation(PreparableMutationOperation jdbcMutation, GeneratedValuesMutationDelegate delegate, SharedSessionContractImplementor session) static booleanidentifiedResultsCheck(PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition, MutationTarget<?> mutationTarget, Object id, SessionFactoryImplementor sessionFactory) static PreparedStatementDetailsstandardPreparation(PreparableMutationOperation jdbcMutation, GeneratedValuesMutationDelegate delegate, SharedSessionContractImplementor session) static PreparedStatementstandardStatementPreparation(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session) static PreparedStatementGrouptoPreparedStatementGroup(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)
-