From torque-dev-return-6037-apmail-db-torque-dev-archive=db.apache.org@db.apache.org Mon Oct 17 19:40:30 2005 Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 86759 invoked from network); 17 Oct 2005 19:40:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2005 19:40:30 -0000 Received: (qmail 80491 invoked by uid 500); 17 Oct 2005 19:40:30 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 80427 invoked by uid 500); 17 Oct 2005 19:40:29 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 80410 invoked by uid 99); 17 Oct 2005 19:40:29 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Oct 2005 12:40:29 -0700 Received: (qmail 86542 invoked by uid 1977); 17 Oct 2005 19:40:09 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Oct 2005 19:40:09 -0000 Date: Mon, 17 Oct 2005 12:40:09 -0700 (PDT) From: Thomas Fischer To: Apache Torque Developers List Subject: Re: Torque test project can't find torque-gen-templates-3.2-rc3-dev.jar In-Reply-To: <4346BFEC.1030205@bristowhill.com> Message-ID: <20051017123413.M54742@minotaur.apache.org> References: <4346BFEC.1030205@bristowhill.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jean Thanks for pointing out the error. Just committed the fix, it will be fixed in 3.2-RC3 Thomas On Fri, 7 Oct 2005, Jean T. Anderson wrote: > One problem I discovered in the tutorial (and that repeats in the tests) is > Derby doesn't support creating a table that references another table that > doesn't exist yet. For example, this BOOK create statement fails because the > author table doesn't exist yet (this from > trunks/test/test-project/target/sql/bookstore-schema.sql): > > CREATE TABLE book > ( > book_id INTEGER NOT NULL, > isbn VARCHAR(15) NOT NULL, > author_id INTEGER NOT NULL, > title VARCHAR(255) NOT NULL, > PRIMARY KEY(book_id), > FOREIGN KEY (author_id) REFERENCES author (author_id) > ); > > My solution for this for the tutorial was to modify the > src/schema/project-schema.xml to place the BOOK definition at the end, then > it worked great. > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org