[
https://jira.jboss.org/jira/browse/JBIDE-4664?page=com.atlassian.jira.plu...
]
Dmitry Geraskov updated JBIDE-4664:
-----------------------------------
Attachment: foreign key ui.PNG
I implemented ui for adding/editing foreign key annotation, but after that decided that it
is not needed because jpa has field-to field mappings for joining tables. May be add it
for @Entity mapping (see "foreign key ui.png")
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 ui.PNG, 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