Class ModelMutationHelper
- java.lang.Object
-
- org.hibernate.engine.jdbc.mutation.internal.ModelMutationHelper
-
public class ModelMutationHelper extends Object
Helper functionality related to model mutations
-
-
Method Summary
-
-
-
Method Detail
-
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)
-
toPreparedStatementGroup
public static PreparedStatementGroup toPreparedStatementGroup(MutationType mutationType, MutationTarget<?> mutationTarget, List<PreparableMutationOperation> mutations, SharedSessionContractImplementor session)
-
standardPreparation
public static PreparedStatementDetails standardPreparation(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session)
-
identityPreparation
public static PreparedStatementDetails identityPreparation(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session)
-
standardStatementPreparation
public static PreparedStatement standardStatementPreparation(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session)
-
-