Re: Entity Classes from Database

Andrei Badea <[email protected]> Wed, 16 Jan 2008 11:40:36 +0100
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Miroslav Nachev wrote:
> Hi,
> 
> I would like to improve New File wizard "Entity Classes from Database" 
> which is in category Persistence. Can you tell me from where to download 
> the source code and what are the package and classes names?

First you need to download the sources and build the whole NetBeans:

http://www.netbeans.org/community/sources/cvs.html

Then you can start hacking the RelatedCMPWizard and sibling classes in 
the module in j2ee/persistence directory.

> Is the same Wizard used for "Java Database Desktop Application" where 
> the generated entity classes implements PropertyChangeSupport? If this 
> is another Wizard, please point the relevant package and classes names?

It is not exactly the same wizard, but the code which generates the 
classes is the same. Have a look at the the module in the form/j2ee 
directory.

Andrei

P.S. Since you want to hack on NetBeans, nbdev would have been the best 
mailing list for this. Not nbui and not nbj2ee.