HHH-17644 Mapping of generic types in single table inheritance depends on lexicographical order of parent and child classnames

This commit is contained in:
Andrea Boriero 2024-01-23 13:26:16 +01:00 committed by Christian Beikov
parent 77ed492ea0
commit 79a4c3194a
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import java.util.TreeMap;
import org.hibernate.AnnotationException; import org.hibernate.AnnotationException;
import org.hibernate.annotations.JavaType; import org.hibernate.annotations.JavaType;
import org.hibernate.annotations.JdbcTypeCode;
import org.hibernate.annotations.ManyToAny; import org.hibernate.annotations.ManyToAny;
import org.hibernate.annotations.Target; import org.hibernate.annotations.Target;
import org.hibernate.annotations.Type; import org.hibernate.annotations.Type;
@ -436,6 +437,9 @@ public class PropertyContainer {
else if ( property.isAnnotationPresent( JavaType.class ) ) { else if ( property.isAnnotationPresent( JavaType.class ) ) {
return true; return true;
} }
else if ( property.isAnnotationPresent( JdbcTypeCode.class ) ) {
return true;
}
else if ( property.isAnnotationPresent( Target.class ) ) { else if ( property.isAnnotationPresent( Target.class ) ) {
return true; return true;
} }