Skip to content

Commit 9201ee7

Browse files
dreab8beikov
authored andcommitted
HHH-17644 Mapping of generic types in single table inheritance depends on lexicographical order of parent and child classnames
1 parent f33afc6 commit 9201ee7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import org.hibernate.AnnotationException;
2121
import org.hibernate.annotations.JavaType;
22+
import org.hibernate.annotations.JdbcTypeCode;
2223
import org.hibernate.annotations.ManyToAny;
2324
import org.hibernate.annotations.Target;
2425
import org.hibernate.annotations.Type;
@@ -436,6 +437,9 @@ else if ( property.isAnnotationPresent( Type.class ) ) {
436437
else if ( property.isAnnotationPresent( JavaType.class ) ) {
437438
return true;
438439
}
440+
else if ( property.isAnnotationPresent( JdbcTypeCode.class ) ) {
441+
return true;
442+
}
439443
else if ( property.isAnnotationPresent( Target.class ) ) {
440444
return true;
441445
}

0 commit comments

Comments
 (0)