HHH-15393 - Improve write-paths to use mapping model
This commit is contained in:
parent
cc9ecfb94d
commit
1f9a6f43f1
|
@ -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 );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue