[
https://jira.jboss.org/jira/browse/JBIDE-3426?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk commented on JBIDE-3426:
---------------------------------------------
Max Rydahl Andersen:
"I propose we skip this page and just take the *safe* defaults for now.
If there is choice between who is owner simply just take the field that lexical comes
first (just to have
a consistent order no matter how many time we apply it).
Then we can start experimenting."
Ok. For now I improve automatic owner selection - now it much better and there are no
"two owners" like it was.
Currently I skip page on screenshot-1 - till the moment we find best solution for this.
I propose to resolve this issue and create new which describes better the case and the
possible GUI for this.
Generate Hibernate/JPA - Collect all ambiguous annotation cases and
ask the user about it
-----------------------------------------------------------------------------------------
Key: JBIDE-3426
URL:
https://jira.jboss.org/jira/browse/JBIDE-3426
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Affects Versions: 3.0.0.cr1
Reporter: Vitali Yemialyanchyk
Assignee: Vitali Yemialyanchyk
Priority: Minor
Fix For: 3.0.0.CR2
Attachments: screenshot-1.jpg
JBIDE-3033 is a start point for this issue. After collection all ambiguous cases - dialog
with relation selection table should appear (seems next step for "Hibernate: add JPA
annotations" dialog is suitable). Table columns:
|Class|Association|Type|Owner|
Class & Association - not editable fields;
Type & Owner - editable fields with comboboxes;
for example from JBIDE-3033:
|*Person*|*Foto foto********|*one-to-one*|*person*|
|*Foto****|*Person person*|*one-to-one*|*[empty]*|
if we change Type and/or Owner for Person - Type and/or Owner for related Foto should be
changed automatically.
after this should be possible preview changes.
--
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