From torque-user-return-6031-apmail-db-torque-user-archive=db.apache.org@db.apache.org Thu Apr 21 09:48:56 2005 Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 20771 invoked from network); 21 Apr 2005 09:48:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Apr 2005 09:48:55 -0000 Received: (qmail 45882 invoked by uid 500); 21 Apr 2005 09:49:04 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 45865 invoked by uid 500); 21 Apr 2005 09:49:04 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 45850 invoked by uid 99); 21 Apr 2005 09:49:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (194.175.229.106) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 21 Apr 2005 02:49:04 -0700 Received: from [195.127.188.18] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DOYIj-0007t0-Kl for torque-user@db.apache.org; Thu, 21 Apr 2005 11:48:49 +0200 In-Reply-To: <426771F4.1080006@pfportal.com> Subject: RE: XMLSchema to Torque's relational schema transform To: "Apache Torque Users List" X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: From: Thomas Fischer Date: Thu, 21 Apr 2005 11:48:48 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 21.04.2005 11:48:48 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I do not know if this is what you want, but if you use the cvs version, Torque can also generate simple javaBeans which can be used to construct persistent database objects and vice versa. See http://nagoya.apache.org/eyebrowse/ReadMsg?listName=torque-user@db.apache.org&msgNo=5104 This would mean that you do not need digester to create the beans, Torque would create them for you. However, there is no way at the moment to generate only the beans and nothing else. Hope that helps, Thomas Pietro Federico schrieb am 21.04.2005 11:27:16: > Hi, > > I need something where I write a new simple XMLSchema and obtain > automatically tables and javabeans. > Then, receiving a piece of XML conforming the XMLSchema, have a unique > way to save XML data to DB, probably using the beans. (I need the beans > use the data afterwards) > > I'm trying to do a thing like the following: > > - having (quite simple) XML Schema definitions (that I can control) > - automatically transform them to Torque XML Database Schemas > - automatically obtain DB and JavaBeans with torque > > Then having a piece of XML conforming to a previously defined XMLSchema, > create an initialize the corrisponfing JavaBean and use torque > persistence to save it in DB. > > My idea is to use a unique XSL transform to obtaing XML Database schemas > automatically and then use commons-digester to do the XML to javaBean > mapping. > > If you know, are there any other projects doing something similar out there? > > Pietro.- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org