diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyContainer.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyContainer.java index 2b0083c318..3248eee16f 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyContainer.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyContainer.java @@ -19,6 +19,7 @@ import java.util.TreeMap; import org.hibernate.AnnotationException; import org.hibernate.annotations.JavaType; +import org.hibernate.annotations.JdbcTypeCode; import org.hibernate.annotations.ManyToAny; import org.hibernate.annotations.Target; import org.hibernate.annotations.Type; @@ -436,6 +437,9 @@ public class PropertyContainer { else if ( property.isAnnotationPresent( JavaType.class ) ) { return true; } + else if ( property.isAnnotationPresent( JdbcTypeCode.class ) ) { + return true; + } else if ( property.isAnnotationPresent( Target.class ) ) { return true; }