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

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Mon Aug 15 03:10:03 EDT 2011


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

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

    Description: 
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

  was:
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({Column(name="columnOne")})
FAILURE: error appear again



> 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: 3.3.0.M3
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list