[
https://jira.jboss.org/jira/browse/JBIDE-4664?page=com.atlassian.jira.plu...
]
Dmitry Geraskov updated JBIDE-4664:
-----------------------------------
Attachment: foreign key.PNG
Support validation of @ForeignKey name for OneToOne, ManToOne, ManyToMany nad Entity
mappings.
ForeignKey annotation.
----------------------
Key: JBIDE-4664
URL:
https://jira.jboss.org/jira/browse/JBIDE-4664
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: Hibernate
Affects Versions: 3.1.0.M2
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.1.0.CR1
Attachments: foreign key.PNG
@Target({FIELD, METHOD, TYPE})
Attributes:
String name();
String inverseName() default "";
Name of the foreign key used in OneToMany, ManyToOne, and OneToOne
relationships. Used for the owning side in ManyToMany relationships
InverseName used for the non-owning side of a ManyToMany relationship. Ignored
in other relationships.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira