[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9485) JPA: validate @TypeDef annotation

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Wed Sep 28 00:49:26 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov updated JBIDE-9485:
---------------------------------

    Release Notes Docs Status: Documented as Resolved Issue
                       Writer: irooskov
           Release Notes Text: 
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 


> JPA: validate @TypeDef annotation
> ---------------------------------
>
>                 Key: JBIDE-9485
>                 URL: https://issues.jboss.org/browse/JBIDE-9485
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: hibernate
>    Affects Versions: 3.3.0.M2
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M3
>
>
> 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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list