Skip to content

Commit ceda032

Browse files
committed
tiny fix to error message
1 parent aee9adc commit ceda032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ else if ( !generatorAnnotations.isEmpty() ) {
835835
Locale.ROOT,
836836
"Identifier attribute '%s' is annotated '%s' which is not an '@IdGeneratorType'",
837837
getPath( propertyHolder, inferredData ),
838-
generatorAnnotations.get(0).annotationType()
838+
generatorAnnotations.get(0).annotationType().getName()
839839
) );
840840
}
841841
else if ( idAttributeMember.hasDirectAnnotationUsage( GeneratedValue.class ) ) {

0 commit comments

Comments
 (0)