My team uses a slightly modified reverseDB to generate our Java objects and
ojb mapping files.
The majority of our projects are to web enable existing applications, so our
tables already exist, and we just need to create the java and mapping files.


Using reverseDB to generate the classes and mapping, and our own generic DAO
for the simple CRUD functions, we can be updating any (single) table in a
matter of a few minutes. (we then go back into the classes and add
additional attributes to represent the logical relationships that we need)

even if you are not using ojb the reverseDB tool can still be a good way to
generate your java classes from the existing tables.

Is there a better tool for generating java classes from an existing DB?


-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Paolo Salvan
Sent: Thursday, June 03, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject: OJB, MySql.... how do I create the data structures?


Hi!

Ok, third mail...

I've heard that reverse-db can be the wroing road....

What do you suggest to create the various java, xml and sql db?

Is it more confortable using torque, druid or what? Starting from the .java 
class, some xml file or the sql DB? And how to generate all the remaining
files?

Thanks and bye!

Paolo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to