[
http://jira.jboss.com/jira/browse/JBIDE-1178?page=comments#action_12406609 ]
Max Andersen commented on JBIDE-1178:
-------------------------------------
>Just be aware that today users can go and rerun and/or copy/edit
the generated console configuration...just something to be aware off.
Our code rebuild console configuration when runs launch configuration.
I didn't find a way rerun launch configuration.
Did you read the hibernate tools docs ? :)
Run > Hibernate code Generation or use the Hibernate code generation shortcut in the
toolbar.
I also noticed there is now an GenerateEntitiesAction in org.hibernate.eclipse.console and
redundant plugin.properties ...I assume that is something that will be removed ?
I think we don't need supporting dTP connection but only filter
our console configuration by connection url (this is just a string). This get our the
>confidence in the using right database (of course we can have different logins
here(and rights as consequence), but I think this is not a >problem).
How do you check if we have the proper url in the console configuration ? That is not
doable in a reliable way afaik.
hmm...maybe we should turn this around...e.g. add a "Select
tables" to the Seam Generate Entities that allows you to use DTP table browser
>based on the connection information in the selected console configuration ?
We can do it. But in the case user can have console configurations
with connections to DB1, DB2 and DTP connection to DB3. When he press >"Generate
Seam Entities" in DTP Table Browser context menu(on the DB3 tables) he will
haven't possibility to select the tables in our wizard (as >we haven't console
config with connection to DB3).
If we turn it around and let the seam generate entities dialog do it we do not need
selection from DTP tree...at least not now.
This is to avoid the problem of not having matching console configurations.
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: Dima Geraskov
Fix For: 2.1
Attachments: scr1.PNG, scr2.PNG, scr3.PNG, scr4.PNG, scr5.PNG, SGE.PNG, SGE2.PNG
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