Return-Path: Delivered-To: apmail-db-ojb-user-archive@www.apache.org Received: (qmail 93290 invoked from network); 14 Jun 2005 09:31:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2005 09:31:11 -0000 Received: (qmail 21286 invoked by uid 500); 14 Jun 2005 09:31:09 -0000 Delivered-To: apmail-db-ojb-user-archive@db.apache.org Received: (qmail 21231 invoked by uid 500); 14 Jun 2005 09:31:08 -0000 Mailing-List: contact ojb-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "OJB Users List" Reply-To: "OJB Users List" Delivered-To: mailing list ojb-user@db.apache.org Received: (qmail 21217 invoked by uid 99); 14 Jun 2005 09:31:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of tomdzk@gmail.com designates 64.233.182.193 as permitted sender) Received: from nproxy.gmail.com (HELO nproxy.gmail.com) (64.233.182.193) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Jun 2005 02:31:07 -0700 Received: by nproxy.gmail.com with SMTP id d4so132736nfe for ; Tue, 14 Jun 2005 02:30:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PrJQQHVLrsqVt/zC6ITJlS7XXc/8gh4CNtm5+s97927gayLs7toQ2hrG4OiBNa2c+8AG2KziJlIVXWVbQ/0R8/Ew0rrmZwF7wqvWJW3BrZSycPLrUVjlWJy+0QaJO0W208PbxCNwDNPAfX66slReVNxkRU1VLRqYTwyHHYsXnGI= Received: by 10.48.249.6 with SMTP id w6mr93367nfh; Tue, 14 Jun 2005 02:30:56 -0700 (PDT) Received: by 10.48.249.2 with HTTP; Tue, 14 Jun 2005 02:30:56 -0700 (PDT) Message-ID: <224f323405061402302d9b6571@mail.gmail.com> Date: Tue, 14 Jun 2005 11:30:56 +0200 From: Thomas Dudziak Reply-To: Thomas Dudziak To: OJB Users List Subject: Re: Beginners Question Tutorial Problem In-Reply-To: <42ADA711.3010903@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42ADA711.3010903@gmx.at> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > I've some question regarding ojb. I'm an absolute beginner with ojb > although I've used torque quite a lot. > 1. The tutorial uses Java-Classes and generates the repository_user.xml > is the other way round also possible? > I ask this because I'm designing my databases using clay an > eclipse-plugin(it restores the database in an XML-File) and it should be > straight > forward to write an XSLT to convert the clay-file to a > repository_users.xml maybe I'm even releasing this as an eclipse plugin ;= -) Not as such, mainly because OJB does not really require anything of the objects that get persisted (POJOs). The code for performing operations related to persistence (storing, retrieving, querying) is usually not within the persistent classes but instead in specific DAO classes or similar. So, all you'd require is a stylesheet that generates plain java classes, preferably with a no-arg constructor, from the clay mapping. And it could also generate basic DAO classes for them. You might want to have a look into AppFuse (over at java.net) to see what a basic DAO would constitute. > 2. Following the tutorial when running "ant build setup-db" I get the > following build error: Please try the targets individually to see whether that works any better. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org For additional commands, e-mail: ojb-user-help@db.apache.org