Return-Path: Delivered-To: apmail-db-ddlutils-user-archive@www.apache.org Received: (qmail 73122 invoked from network); 7 Nov 2005 13:05:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Nov 2005 13:05:34 -0000 Received: (qmail 89225 invoked by uid 500); 7 Nov 2005 13:05:31 -0000 Delivered-To: apmail-db-ddlutils-user-archive@db.apache.org Received: (qmail 89075 invoked by uid 500); 7 Nov 2005 13:05:31 -0000 Mailing-List: contact ddlutils-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-user@db.apache.org Delivered-To: mailing list ddlutils-user@db.apache.org Received: (qmail 88947 invoked by uid 99); 7 Nov 2005 13:05:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 05:05:30 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tomdzk@gmail.com designates 64.233.182.197 as permitted sender) Received: from [64.233.182.197] (HELO nproxy.gmail.com) (64.233.182.197) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 05:05:23 -0800 Received: by nproxy.gmail.com with SMTP id l24so118819nfc for ; Mon, 07 Nov 2005 05:05:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ncxF7Dvx80SlYsvH2sonVeVwyUIb5FDi82hvZi1wTLmROvjew00f89MauQjLjXkUCEEmzXSp1191SGXlXQMgRqw2P5N57Gk0FGvJ3Ca8aoGd4w5Ab/yDOZ9EPDJjCPF72Vetgs4cmrjO6TP9eoFiE/TsVnYtO6e2avtrYlHk77w= Received: by 10.48.233.1 with SMTP id f1mr357823nfh; Mon, 07 Nov 2005 05:05:07 -0800 (PST) Received: by 10.48.250.6 with HTTP; Mon, 7 Nov 2005 05:05:07 -0800 (PST) Message-ID: <224f32340511070505k254a333aw46591d2c62dd529b@mail.gmail.com> Date: Mon, 7 Nov 2005 14:05:07 +0100 From: Thomas Dudziak To: ddlutils-user@db.apache.org Subject: Re: [Documentation] "Reading from database".java should mention that "database.setName(..)" should be called in order to generate reloadable XML In-Reply-To: <436F258E.9080405@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <436F258E.9080405@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 11/7/05, Thorbj=F8rn Ravn Andersen wrote: > I just noticed that the method described to read from a database, put > together with the method to write to XML does not produce XML-files that > can be read in again with the method to read from xml. > > I found that a "database.setName("whatever")" had to be called before > writing to xml to remidy this. You're right, the jdbc model reader does not set the database name yet. Could you file an issue with JIRA ? Tom