HHH-16819 Pointing to legacy property (pre-Jakarta) in thrown exception of GroupsPerOperation

This commit is contained in:
Sanne Grinovero 2023-07-21 12:03:53 -04:00
parent 36f3e4c289
commit a27f1e5cd8

View File

@ -92,7 +92,7 @@ public static Class<?>[] buildGroupsForOperation(Operation operation, Map settin
} }
//null is bad and excluded by instanceof => exception is raised //null is bad and excluded by instanceof => exception is raised
throw new HibernateException( JAKARTA_JPA_GROUP_PREFIX + operation.getGroupPropertyName() + " is of unknown type: String or Class<?>[] only"); throw new HibernateException( JAKARTA_JPA_GROUP_PREFIX + operation.getJakartaGroupPropertyName() + " is of unknown type: String or Class<?>[] only");
} }
public Class<?>[] get(Operation operation) { public Class<?>[] get(Operation operation) {