[jbosstools-issues] [JBoss JIRA] (JBIDE-9536) JPA: take into account hibernate @Columns(*) on attribute column validation

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Sep 24 03:52:54 EDT 2012


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

Max Rydahl Andersen updated JBIDE-9536:
---------------------------------------

    Assignee: Koen Aers  (was: Dmitry Geraskov)

    
> JPA: take into account hibernate @Columns(*) on attribute column validation
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-9536
>                 URL: https://issues.jboss.org/browse/JBIDE-9536
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: hibernate
>    Affects Versions: 3.3.0.M2
>            Reporter: Dmitry Geraskov
>            Assignee: Koen Aers
>              Labels: new_and_noteworthy
>             Fix For: 4.0.x
>
>
> Test Case:
> 1. Create a database table x with column columnOne
> 2. Create enity for the table with attribute columnTwo
> Connect dtp connection and check error near the field appeared (Column 'columnTwo' cannot be resolved on table 'x')
> 3. Add @javax.persistence.Column(name="columnOne")
> OBSERVE: error should disappear
> 4. change annotation to @org.hibernate.Columns(columns = {@Column(name="columnOne")})
> FAILURE: error appear again

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list