add a comment

This commit is contained in:
Gavin King 2024-01-12 13:17:55 +01:00
parent 2fce965730
commit 8af5c9dcb3
1 changed files with 2 additions and 0 deletions

View File

@ -191,6 +191,8 @@ public class TypeHelper {
}
else {
final Type type = types[i];
// AnyType is both a CompositeType and an AssociationType
// but here we want to treat it as an association
if ( type.isAssociationType() ) {
copied[i] = types[i].replace( currentOriginal, target[i], session, owner, copyCache, foreignKeyDirection );
}