You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by ManishMishra <km...@gmail.com> on 2010/08/02 16:58:22 UTC

RE: Create Composite Primary key and inserting values,Apache Torque

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