diff --git a/hibernate-core/src/main/java/org/hibernate/boot/beanvalidation/GroupsPerOperation.java b/hibernate-core/src/main/java/org/hibernate/boot/beanvalidation/GroupsPerOperation.java index 3dea016897..7b1005a347 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/beanvalidation/GroupsPerOperation.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/beanvalidation/GroupsPerOperation.java @@ -22,7 +22,7 @@ import jakarta.validation.groups.Default; */ public class GroupsPerOperation { private static final String JPA_GROUP_PREFIX = "javax.persistence.validation.group."; - private static final String JAKARTA_JPA_GROUP_PREFIX = "javax.persistence.validation.group."; + private static final String JAKARTA_JPA_GROUP_PREFIX = "jakarta.persistence.validation.group."; private static final String HIBERNATE_GROUP_PREFIX = "org.hibernate.validator.group."; private static final Class[] DEFAULT_GROUPS = new Class[] { Default.class };