PreparedStatementDetails references related to multi-table
entity mappings. The statements are keyed by each table-names.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final MutationTarget | |
| private final MutationType | |
| private final SharedSessionContractImplementor | |
| private final SortedMap |
| Access | Constructor and Description |
|---|---|
| public | PreparedStatementGroupStandard(MutationType mutationType, MutationTarget<?> mutationTarget, List<PreparableMutationOperation> jdbcMutations, SharedSessionContractImplementor session)
|
| jdbcMutations | back to summary |
|---|---|
| private final List<PreparableMutationOperation> jdbcMutations | |
| mutationTarget | back to summary |
|---|---|
| private final MutationTarget<?> mutationTarget | |
| mutationType | back to summary |
|---|---|
| private final MutationType mutationType | |
| session | back to summary |
|---|---|
| private final SharedSessionContractImplementor session | |
| statementMap | back to summary |
|---|---|
| private final SortedMap<String, PreparedStatementDetails> statementMap | |
| PreparedStatementGroupStandard | back to summary |
|---|---|
| public PreparedStatementGroupStandard(MutationType mutationType, MutationTarget<?> mutationTarget, List<PreparableMutationOperation> jdbcMutations, SharedSessionContractImplementor session) | |
| createPreparedStatementDetails | back to summary |
|---|---|
| private static PreparedStatementDetails createPreparedStatementDetails(PreparableMutationOperation jdbcMutation, MutationType mutationType, MutationTarget<?> mutationTarget, SharedSessionContractImplementor session) | |
| createStatementDetailsMap | back to summary |
|---|---|
| private SortedMap | |
| forEachStatement | back to summary |
|---|---|
| public void forEachStatement(BiConsumer<String, PreparedStatementDetails> action) Implements org. Doc from org. Visit the details for each table mutation
| |
| getNumberOfActiveStatements | back to summary |
|---|---|
| public int getNumberOfActiveStatements() Implements org.
| |
| getNumberOfStatements | back to summary |
|---|---|
| public int getNumberOfStatements() Implements org. Doc from org. The number of statements in this group
| |
| getPreparedStatementDetails | back to summary |
|---|---|
| public PreparedStatementDetails getPreparedStatementDetails(String tableName) Implements org. Doc from org. Get the PreparedStatement in this group related to the given table-name. Will return null if no descriptor (yet) exists
| |
| getSingleStatementDetails | back to summary |
|---|---|
| public PreparedStatementDetails getSingleStatementDetails() Implements org. Doc from org. Get the single statement details.
| |
| hasMatching | back to summary |
|---|---|
| public boolean hasMatching(Predicate<PreparedStatementDetails> filter) Implements org.
| |
| locateTableMapping | back to summary |
|---|---|
| private TableMapping locateTableMapping(String name) | |
| release | back to summary |
|---|---|
| public void release() Implements org. Doc from org. Release resources held by this group.
| |
| resolvePreparedStatementDetails | back to summary |
|---|---|
| public PreparedStatementDetails resolvePreparedStatementDetails(String tableName) Implements org. Doc from org. Get the PreparedStatement in this group related to the given table-name. If the descriptor does not already exist, this method will create it.
| |