Top Description Methods
org.hibernate.sql.model

public Interface PreparableMutationOperation

extends MutationOperation
Known Direct Subinterfaces
org.hibernate.sql.model.jdbc.JdbcMutationOperation
Imports
java.util.List, org.hibernate.engine.jdbc.batch.spi.BatchKey, org.hibernate.jdbc.Expectation, org.hibernate.persister.entity.mutation.EntityMutationTarget, org.hibernate.sql.exec.spi.JdbcParameterBinder

MutationOperation that is capable of being handled as a JDBC java.sql.PreparedStatement Person ( PERSON, PERSON_SUPP ) - PERSON_SUPP is optional secondary table
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public default boolean
canBeBatched(BatchKey batchKey, int batchSize)

Series of opt-out checks for whether the operation can be handled as part of a batch.

public Expectation
getExpectation()

The expected outcome of execution

public List<JdbcParameterBinder>
getParameterBinders()

Get the list of parameter binders for the generated PreparedStatement

public String
getSqlString()

The SQL to be used when creating the PreparedStatement

public boolean
isCallable()

Whether the operation is callable

Inherited from org.hibernate.sql.model.MutationOperation:
findValueDescriptorgetJdbcValueDescriptorgetMutationTargetgetMutationTypegetTableDetails

Method Detail

canBeBatchedback to summary
public 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

getExpectationback to summary
public Expectation getExpectation()

The expected outcome of execution

getParameterBindersback to summary
public List<JdbcParameterBinder> getParameterBinders()

Get the list of parameter binders for the generated PreparedStatement

getSqlStringback to summary
public String getSqlString()

The SQL to be used when creating the PreparedStatement

isCallableback to summary
public boolean isCallable()

Whether the operation is callable