Return-Path: Mailing-List: contact ojb-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ojb-dev@jakarta.apache.org Received: (qmail 18769 invoked by uid 98); 2 Jan 2003 19:47:28 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 18747 invoked from network); 2 Jan 2003 19:47:26 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 2 Jan 2003 19:47:26 -0000 Received: (qmail 84766 invoked by uid 500); 2 Jan 2003 19:46:05 -0000 Received: (qmail 84747 invoked from network); 2 Jan 2003 19:46:04 -0000 Received: from unknown (HELO YVIMAIN2.YOURVITAMINS.COM) (12.29.121.60) by daedalus.apache.org with SMTP; 2 Jan 2003 19:46:04 -0000 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: AutoBuildDb proposals X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Thu, 2 Jan 2003 11:45:58 -0800 Message-ID: <2702515F04C1AF4A9B0CE6E61DFDACC605E8CA@yvimain2.yourvitamins.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AutoBuildDb proposals Thread-Index: AcKyk++JQok/lh4gQcidQ/Rzbi0wdQAAhxCw From: "Jason Rosen" To: "OJB Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi,=20 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.=20 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" To: 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: > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: = For additional commands, e-mail: =