[
https://issues.jboss.org/browse/JBIDE-9536?page=com.atlassian.jira.plugin...
]
Dmitry Geraskov commented on JBIDE-9536:
----------------------------------------
A singular Column object permeates through all the Dali internal model and that is why
this can't be done in 3.3.0.M3, but we could try to cnage validation and do not
validate if the column exists if there is @Columns annotation present.
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