HHH-15393 - Improve write-paths to use mapping model

This commit is contained in:
Steve Ebersole 2022-11-28 15:10:36 -06:00
parent cc9ecfb94d
commit 1f9a6f43f1
3 changed files with 0 additions and 5 deletions

View File

@ -144,7 +144,6 @@ public class BatchImpl implements Batch {
); );
} }
finally { finally {
// todo (mutation) : is this needed?
jdbcValueBindings.afterStatement( statementDetails.getMutatingTableDetails(), session ); jdbcValueBindings.afterStatement( statementDetails.getMutatingTableDetails(), session );
} }
} ); } );

View File

@ -221,8 +221,6 @@ public abstract class AbstractEntityCollectionPart implements EntityCollectionPa
NavigablePath fetchablePath, NavigablePath fetchablePath,
FromClauseAccess fromClauseAccess, FromClauseAccess fromClauseAccess,
DomainResultCreationState creationState) { DomainResultCreationState creationState) {
// todo (mutation) : account for `@MapKey( name = "someManyToOne" )`
return collectionTableGroup.getIndexTableGroup(); return collectionTableGroup.getIndexTableGroup();
} }

View File

@ -116,8 +116,6 @@ public class OneToManyCollectionPart extends AbstractEntityCollectionPart implem
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// TableGroupJoinProducer // TableGroupJoinProducer
// todo (mutation) : this is only needed for `AbstractEntityCollectionPart#generateFetch`
// to create the map-key join
@Override @Override
public SqlAstJoinType getDefaultSqlAstJoinType(TableGroup parentTableGroup) { public SqlAstJoinType getDefaultSqlAstJoinType(TableGroup parentTableGroup) {