We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d160194 commit 7400882Copy full SHA for 7400882
hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyContainer.java
@@ -394,6 +394,12 @@ else if ( memberDetails.hasAnnotationUsage( JdbcTypeCode.class ) ) {
394
return true;
395
}
396
397
+ if ( memberDetails.getType().determineRawClass().isImplementor( Class.class ) ) {
398
+ // specialized case for @Basic attributes of type Class (or Class<?>, etc.).
399
+ // we only really care about the Class part
400
+ return true;
401
+ }
402
+
403
return false;
404
405
0 commit comments