Class PreparedStatementGroupSingleTable
java.lang.Object
org.hibernate.engine.jdbc.mutation.internal.AbstractPreparedStatementGroup
org.hibernate.engine.jdbc.mutation.internal.PreparedStatementGroupSingleTable
- All Implemented Interfaces:
PreparedStatementGroup
PreparedStatementGroup
implementation for cases where we have just a single operation-
Constructor Summary
ConstructorsConstructorDescriptionPreparedStatementGroupSingleTable
(PreparableMutationOperation jdbcMutation, SharedSessionContractImplementor session) PreparedStatementGroupSingleTable
(PreparableMutationOperation jdbcMutation, GeneratedValuesMutationDelegate delegate, SharedSessionContractImplementor session) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Visit the details for each table mutationprotected TableMapping
int
int
The number of statements in this groupgetPreparedStatementDetails
(String tableName) Get the PreparedStatement in this group related to the given table-name.Get the single statement details.boolean
hasMatching
(Predicate<PreparedStatementDetails> filter) void
release()
Release resources held by this group.resolvePreparedStatementDetails
(String tableName) Get the PreparedStatement in this group related to the given table-name.Methods inherited from class org.hibernate.engine.jdbc.mutation.internal.AbstractPreparedStatementGroup
clearBatch, release
-
Constructor Details
-
Method Details
-
getMutatingTableDetails
-
getNumberOfStatements
public int getNumberOfStatements()Description copied from interface:PreparedStatementGroup
The number of statements in this group -
getNumberOfActiveStatements
public int getNumberOfActiveStatements() -
getSingleStatementDetails
Description copied from interface:PreparedStatementGroup
Get the single statement details. -
forEachStatement
Description copied from interface:PreparedStatementGroup
Visit the details for each table mutation -
getPreparedStatementDetails
Description copied from interface:PreparedStatementGroup
Get the PreparedStatement in this group related to the given table-name. Will return null if no descriptor (yet) exists -
resolvePreparedStatementDetails
Description copied from interface:PreparedStatementGroup
Get the PreparedStatement in this group related to the given table-name. If the descriptor does not already exist, this method will create it. -
hasMatching
-
release
public void release()Description copied from interface:PreparedStatementGroup
Release resources held by this group.
-