Class AbstractJdbcMutation
java.lang.Object
org.hibernate.sql.model.jdbc.AbstractJdbcMutation
- All Implemented Interfaces:
JdbcOperation, JdbcMutationOperation, MutationOperation, PreparableMutationOperation
- Direct Known Subclasses:
JdbcDeleteMutation, JdbcInsertMutation, JdbcUpdateMutation, MergeOperation, UpsertOperation
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractJdbcMutation(TableMapping tableDetails, MutationTarget<?> mutationTarget, String sql, boolean callable, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders) -
Method Summary
Modifier and TypeMethodDescriptionfindValueDescriptor(String columnName, ParameterUsage usage) Find the JDBC parameter to be used for the specified column.The names of tables referred to by this operation.The expected outcome of executionThe thing being mutatedThe list of parameter binders for the generated PreparedStatement.The SQL command we will be executing through JDBC.The table against which operation is to be performedbooleanWhether the operation is callableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MutationOperation
getJdbcValueDescriptor, getMutationTypeMethods inherited from interface PreparableMutationOperation
canBeBatched
-
Constructor Details
-
AbstractJdbcMutation
public AbstractJdbcMutation(TableMapping tableDetails, MutationTarget<?> mutationTarget, String sql, boolean callable, Expectation expectation, List<? extends JdbcParameterBinder> parameterBinders)
-
-
Method Details
-
getTableDetails
Description copied from interface:MutationOperationThe table against which operation is to be performed- Specified by:
getTableDetailsin interfaceMutationOperation
-
getAffectedTableNames
Description copied from interface:JdbcOperationThe names of tables referred to by this operation.- Specified by:
getAffectedTableNamesin interfaceJdbcOperation
-
getMutationTarget
Description copied from interface:MutationOperationThe thing being mutated- Specified by:
getMutationTargetin interfaceMutationOperation
-
getSqlString
Description copied from interface:JdbcOperationThe SQL command we will be executing through JDBC.- Specified by:
getSqlStringin interfaceJdbcOperation- Specified by:
getSqlStringin interfacePreparableMutationOperation
-
getParameterBinders
Description copied from interface:JdbcOperationThe list of parameter binders for the generated PreparedStatement.- Specified by:
getParameterBindersin interfaceJdbcOperation- Specified by:
getParameterBindersin interfacePreparableMutationOperation
-
findValueDescriptor
Description copied from interface:MutationOperationFind the JDBC parameter to be used for the specified column.- Specified by:
findValueDescriptorin interfaceMutationOperation- Returns:
- The descriptor, or null if none match.
- See Also:
-
isCallable
public boolean isCallable()Description copied from interface:PreparableMutationOperationWhether the operation is callable- Specified by:
isCallablein interfacePreparableMutationOperation
-
getExpectation
Description copied from interface:PreparableMutationOperationThe expected outcome of execution- Specified by:
getExpectationin interfacePreparableMutationOperation
-