db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Create Composite Primary key and inserting values,Apache Torque
Date Mon, 26 Jul 2010 07:25:03 GMT

> I am trying to create a table like BookAuthorMap which has two columns :-
> BookId and AuthorId. These are my primary key in another table. I want to
> insert my values in these column rather auto increment.
> ...

You need to set the attribute idMethod to "none" in the table element. See
http://db.apache.org/torque/releases/torque-3.3/generator/database.dtd.txt
or
http://db.apache.org/torque/releases/torque-3.3/generator/schema-reference.html

   Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message