db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject Re: Torque test project can't find torque-gen-templates-3.2-rc3-dev.jar
Date Mon, 17 Oct 2005 19:40:09 GMT

Thanks for pointing out the error. Just committed the fix, it will be 
fixed in 3.2-RC3


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):
> (
>    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

View raw message