« Return to Thread: Entity Classes from Database

Re: Entity Classes from Database

by Andrei Badea :: Rate this Message:

Reply to Author | View in Thread

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.

 « Return to Thread: Entity Classes from Database

LightInTheBox - Buy quality products at wholesale price