[
http://jira.jboss.com/jira/browse/JBIDE-1178?page=comments#action_12404429 ]
Dima Geraskov commented on JBIDE-1178:
--------------------------------------
The challange in any of these would be how to "merge" into
existing generated entities in the app.
I think we should generate our files to some temporary directory ( for ex. use
".outDir" instead "outDir") and after generating copy to the output
directory those of them that haven't names conflicts. About others we should ask the
user what he want to do with conflict files:
a) replace old files
b) leave old files
c) merge them with Eclipse compare editor
The most interesting choice is c). We can simply run action like "Compare
With->Each other" (org.eclipse.compare...) does for selected files when there are
2 or more files selected.(See Package Explorer view).
Selective "Seam Generate Entities"
----------------------------------
Key: JBIDE-1178
URL:
http://jira.jboss.com/jira/browse/JBIDE-1178
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate, Seam
Reporter: Gavin King
Assigned To: Vitali Yemialyanchyk
Fix For: 2.1
We should be able to select exactly which tables we want to generate entities for.
Hibernate Tools already has this functionality, should just be a matter of proper
integration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira