[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1178) Selective "Seam Generate Entities"

Dima Geraskov (JIRA) jira-events at lists.jboss.org
Fri Mar 28 09:24:40 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1178?page=comments#action_12405389 ] 
            
Dima Geraskov commented on JBIDE-1178:
--------------------------------------

As we have table representation in our Hibernate Perspective and we need console configuration to run exporter I realize "Generate Entities" as a context menu action in Hibernate Configurations view for Tables (Database->Schema->right click on table(or select a few tables)).

Do we need realize the same for DTP table browser ("Data Source Explorer") and make user to select one of existing console configuration.

To make entity generation very easy I ask user only about output directory. May be it is good if we ask him about package name too...
Also he can't select options like "use jdk 5 syntax". 
If our action had name "Generate Seam Entities" this woldn't have been a problem, but I called it  "Generate Entities" because our plugin shouldn't knows anything about plugins he doesn't depends on. 
I think methodologically it wold be right to put "Generate Seam Entities" action into one of the Seam plugin(if we want to have such special action). But as we have  "Generate Entities" we should give user a choice of some options. Here I see some inconsistency.

> 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
>
>
> 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

        



More information about the jbosstools-issues mailing list