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

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Fri Aug 31 04:51:34 EDT 2012


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

Dmitry Geraskov updated JBIDE-9536:
-----------------------------------

    Fix Version/s: 4.0.x
                       (was: 4.0.0.Alpha1)

    
> 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: Dmitry Geraskov
>              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