HHH-17644 Mapping of generic types in single table inheritance depends on lexicographical order of parent and child classnames
This commit is contained in:
parent
f33afc66bf
commit
9201ee7109
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue