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

Dima Geraskov (JIRA) jira-events at lists.jboss.org
Thu Apr 10 09:21:54 EDT 2008


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

I attached patch for selective generate entities. It works only vith Vitaly's changes (attached hibernate-tools.jar contains the changes).  
To test it open Seam Perspective and run New->Seam Generate Entities wizard, select project, console cfg, 3-rd radio button, click next.

I picked out code for TreeViever with Catalog/Schema/Tables structure and it demands ConsoleConfiguration or org.hibernate.cfg.Settings as input to build the structure. 
I think it will be very usefull. 
If you like it we'll move the DBTableViewer to one of hibernate plugins (hibernate.eclipse.console?) and replace other treeviewers with it  because it is not load much unused data from db like table columns, indexes, constraints, etc.(in many places we need select only tables).
It uses deferred data loading with "pending..." approach.
(We have a small delay when build ConsoleConfiguration because I didn't move it to the deferred job but I can do it).
I like it very much and I'm waiting your comments.
See SGE_new screenshot.

> 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: hibernate-tools.jar, org.hibernate.eclipse.console_patch.txt, org.jboss.tools.seam.ui_patch.txt, scr1.PNG, scr2.PNG, scr3.PNG, scr4.PNG, scr5.PNG, SGE.PNG, SGE2.PNG, SGE_new.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