mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 11:48:18 +00:00
HHH-17460 - Ongoing JPA 32 work
This commit is contained in:
parent
808544579c
commit
34331fcb29
@ -394,6 +394,12 @@ else if ( memberDetails.hasAnnotationUsage( JdbcTypeCode.class ) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( memberDetails.getType().determineRawClass().isImplementor( Class.class ) ) {
|
||||
// specialized case for @Basic attributes of type Class (or Class<?>, etc.).
|
||||
// we only really care about the Class part
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user