Bug 134821 - DDL and Entity generation at project level is too high
Summary: DDL and Entity generation at project level is too high
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: Framework (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-04-04 13:30 EDT by Kevin Sutter CLA
Modified: 2007-04-05 17:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Sutter CLA 2006-04-04 13:30:07 EDT
I am working with Milestone 1, Iteration 2 drop of Dali.  I posted several
observations to the forum.  Some of the observations were requested to be
turned into feature requests.

>> o  The generation of Entities and DDL are a nice addition, but here again, 
>> these seem to be at too high of a level.  Doing this at that project level 
>> seems too high.  Maybe for simple projects, but not in reality.  Maybe I'm 
>> looking for too many features too early...  If you are planning to improve 
>> on this, I just can't tell from the milestone plan.

> DDL and entity generation are works in progress, we can add this to the 
> backlog of things that would be good to have for these.  Could you open an 
> enhancment request for ddl gen?

Thank you.
Comment 1 Max Rydahl Andersen CLA 2006-04-04 19:36:48 EDT
What does "entity generation at project level is too high" mean ? could you elaborate ?
Comment 2 Kevin Sutter CLA 2006-04-05 09:11:44 EDT
Sorry, some of these comments referred back to other entries in the forum posting.  Here's some more background on my request.

Currently, when I am using Dali, I have the option of generating Entities and DDL only at the Java Project level.  If I right mouse click on the Java Project, I have the options of Java Persistence -> Generate Entities...  and Java Persistence -> Generate DDL...  This is good.  But, it would be even better to have this capability at lower levels of the heirarchy.  For example, it would be good to have these options available at the src tree level, or the package level, or even the individual class file level.  Processing the whole project seems a bit drastic if I only have a single new class file that I want to process as an Entity.

Now, maybe this Generate Entities... selection is supposed to bring up a wizard so that I could select the src, package, or file(s) to process, but I don't see
that happening.  (This may be related to my other bug #134825 that didn't allow the DDL Generation wizard to appear.)

Hope this helps.
Kevin
Comment 3 Gunnar Wagenknecht CLA 2006-04-12 11:06:08 EDT
I think the actions could be hooked on other elements as well. For example, currently I have to right click a project to get the persistence actions. It should be also possible to right click on a package for generating entities. The generate entities wizard would then open with the source folder and package name preinitialized from the current selection.