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

Dima Geraskov (JIRA) jira-events at lists.jboss.org
Wed Mar 26 04:29:40 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBIDE-1178?page=all ]

Dima Geraskov updated JBIDE-1178:
---------------------------------

    Attachment: scr1.PNG
                scr2.PNG
                scr3.PNG

We were discussing with Vitaly option c yesterday and decited that may be the best way in the 'c' option is:
1) if we haven't names conflicts - all understandable.
2) Imagine that user select output directory as: 'tt'. There he already has 3 files: 
Differentfile.txt, old_file.txt, sameFile.txt.
We redirect output to 'tt1' and see that new generated files are:
Differentfile.txt, new_file.txt, sameFile.txt. 

Differentfile.txt - files have same name but different contents.
sameFile.txt - files have same name and the same contents.

Conflicted files: files with the same names.

We decited to use comparing/merging of directories instead of repeated comparing of files.
See attached 'scr1'.
If user wants to merge diferent files(with same name) he can double click on their name. (See scr2).

Enhancement1: before dirs comparison  move not conflicted files from 'tt1' to 'tt'. (Scr3).
Enhancement2: show to user only conflicted files:
a) the fastest way, but not the best is to copy not conflicted files to both dirs and simply use directory comparison (See scr4).
b) extend directory comparison to working as at Scr5.
(Now directory comparison works like at the Scr1-Scr4).

What do you think about merging if we realise 'goal' like at scr5?

> 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