db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ManishMishra <kmanish.mis...@gmail.com>
Subject RE: Create Composite Primary key and inserting values,Apache Torque
Date Mon, 02 Aug 2010 14:58:22 GMT

Hey Thomas,

Thank you very much; it works.



Thomas Fischer-11 wrote:
> 
> 
>> 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Create-Composite-Primary-key-and-inserting-values%2CApache-Torque-tp29258998p29326150.html
Sent from the Apache DB - Torque Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
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