Top Description Constructors Methods
org.hibernate.engine.jdbc.mutation.internal

public Class ModelMutationHelper

extends Object
Class Inheritance
Imports
java.sql.PreparedStatement, .SQLException, java.util.List, .Locale, org.hibernate.HibernateException, .StaleObjectStateException, .StaleStateException, org.hibernate.engine.jdbc.mutation.OperationResultChecker, org.hibernate.engine.jdbc.mutation.group.PreparedStatementDetails, .PreparedStatementGroup, org.hibernate.engine.jdbc.spi.JdbcCoordinator, .MutationStatementPreparer, org.hibernate.engine.spi.SessionFactoryImplementor, .SharedSessionContractImplementor, org.hibernate.jdbc.TooManyRowsAffectedException, org.hibernate.persister.entity.mutation.EntityMutationTarget, org.hibernate.sql.model.MutationTarget, .MutationType, .PreparableMutationOperation, org.hibernate.stat.spi.StatisticsImplementor

Helper functionality related to model mutations
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
checkResults(OperationResultChecker resultChecker, PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition)

public static boolean
identifiedResultsCheck(PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition, MutationTarget<?> mutationTarget, Object id, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static PreparedStatementDetails
public static PreparedStatementDetails
public static PreparedStatement
public static PreparedStatementGroup
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ModelMutationHelperback to summary
private ModelMutationHelper()

Method Detail

checkResultsback to summary
public static void checkResults(OperationResultChecker resultChecker, PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition) throws SQLException
identifiedResultsCheckback to summary
public static boolean identifiedResultsCheck(PreparedStatementDetails statementDetails, int affectedRowCount, int batchPosition, MutationTarget<?> mutationTarget, Object id, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

identityPreparationback to summary
public static PreparedStatementDetails identityPreparation(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session)
standardPreparationback to summary
public static PreparedStatementDetails standardPreparation(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session)
standardStatementPreparationback to summary
public static PreparedStatement standardStatementPreparation(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session)
toPreparedStatementGroupback to summary
public static PreparedStatementGroup toPreparedStatementGroup(MutationType mutationType, MutationTarget<?> mutationTarget, List<PreparableMutationOperation> mutations, SharedSessionContractImplementor session)