Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9485

JPA: validate @TypeDef annotation

XMLWordPrintable

    • Hide
      Validation of org.hibernate.annotation.TypeDef annotation has been added to org.hibernate.annotation.Type. For this annotation to be valid it must have a typeClass attribute that contains the name of the class that implements (directly or indirectly) one of the following Hibernate attributes:

          * org.hibernate.type.Type
          * org.hibernate.usertype.UserType
          * org.hibernate.usertype.CompositeUserType
          * org.hibernate.usertype.UserCollectionType
      Show
      Validation of org.hibernate.annotation.TypeDef annotation has been added to org.hibernate.annotation.Type. For this annotation to be valid it must have a typeClass attribute that contains the name of the class that implements (directly or indirectly) one of the following Hibernate attributes:     * org.hibernate.type.Type     * org.hibernate.usertype.UserType     * org.hibernate.usertype.CompositeUserType     * org.hibernate.usertype.UserCollectionType
    • Documented as Resolved Issue

      A. Validate the name is unique
      B. typeClass can name any of the org.hibernate.type.Type derivatives.
      Namely:

      1) Any impl of org.hibernate.type.Type
      2) Any impl of org.hibernate.usertype.UserType, including impls of
      org.hibernate.usertype.EnhancedUserType and
      org.hibernate.usertype.UserVersionType
      3) Any impl of org.hibernate.usertype.CompositeUserType
      4) Any impl of org.hibernate.usertype.UserCollectionType
      (see http://lists.jboss.org/pipermail/hibernate-dev/2011-August/006916.html)

              dgeraskov Dmitry Geraskov (Inactive)
              dgeraskov Dmitry Geraskov (Inactive)
              Isaac Rooskov Isaac Rooskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: