HHH-16009 jakarta @OrderBy annotation generates a non-transformed column name in the SQL query for a composite key's field

This commit is contained in:
Andrea Boriero 2023-02-16 15:14:24 +01:00 committed by Christian Beikov
parent 647fe3d5fa
commit 08e1aae49f
1 changed files with 1 additions and 0 deletions

View File

@ -496,6 +496,7 @@ public abstract class AbstractEmbeddableMapping implements EmbeddableMappingType
@Override @Override
public AttributeMappingsList getAttributeMappings() { public AttributeMappingsList getAttributeMappings() {
checkIsReady();
return attributeMappings; return attributeMappings;
} }