db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rosen" <JRo...@yvimail.com>
Subject RE: AutoBuildDb proposals
Date Thu, 02 Jan 2003 19:45:58 GMT
Hi, 

I just recently joined the OJB dev list after experimenting a bit with OJB for my own project.

What is the goal of the AutoBuildDB tool?

I have created some XSL templates that can build an OJB repository.xml file from Torque database
schema XML files and then another one to create OJB persistence classes from the repository.xml
file.  I also have ANT tasks defined to build my DB using Torque, generate the repository.xml
file, generate the persistence classes, compile the classes, and jar them up ready to use.

Right now my XSL transforms are quite rough, but they are successful in parsing foreign-key
relations defined in the Torque XML schema to create 1:1, 1:n, and m:n non-decomposed object
relationships within the repository.xml and the generated persistence classes.  I have started
a new project using these tools as a foundation for managing my DB and persistence classes,
and it seems to be working for most cases I have run into using postgreSQL.

So I am wondering how this fits into the goals of the AutoBuildDB tool to see if I can contribute.


Thanks,
Jason

-----Original Message-----
From: Armin Waibel [mailto:armin@code-au-lait.de]
Sent: Thursday, January 02, 2003 11:20 AM
To: OJB Developers List
Subject: Re: AutoBuildDb proposals


Hi again,

----- Original Message -----
From: "Davide Mora" <d_mora@yahoo.com>
To: <ojb-dev@jakarta.apache.org>
Sent: Thursday, January 02, 2003 4:50 PM
Subject: AutoBuildDb proposals


>
> Hi developers, happy new year!
>
> i talked with Armin Waibel about the AutoBuildDb tool,
> and he suggested to post here my proposals.
> I have some "spare time" and i would like to help make
> a better tool if possible.
>
> For what i know, we use two different libraries for
> access the db, CrossDB and Torque.
> The first (and biggest) problem with CrossDB is it
> support more or less half of the platforms listed in
> the repository.dtd.
> To fix this problem i think we have two options:
> replace CrossDB with Torque *or* add support for the
> other databases (DB2,Postgres,etc).
> I'm not so expert of Torque, but my opinion is use it
> it's the best thing.

+1 if you think torque is the better way, do it.

>
> The other proposal is about add more options to the
> AutoBuildDb tool, like generate sql script and/or
> create the database, create an ANT task for it, and a
> "refresh schema" option for handle the class changes.

+1

regards,
Armin

>
> Regards,
> Davide
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:ojb-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:ojb-dev-help@jakarta.apache.org>
>
>
>


--
To unsubscribe, e-mail:   <mailto:ojb-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-dev-help@jakarta.apache.org>


Mime
View raw message