db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Using bit in primary key not supported?
Date Fri, 08 Oct 2010 07:23:15 GMT
>   In my schema.xml file I have
>
> <table name="templatevalue" idMethod="native">
> <column name="name" primaryKey="true" required="true" size="255"
> type="VARCHAR"/>
> <column default="true" name="preview" primaryKey="true" required="true"
> type="BIT"/>
> <!-- Other fields removed -->
> </table>

Torque can not generate composite keys automatically, so the idMethod
attribute in the table should be set to "none". Can you change this and try
again ?

   Thomas


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


Mime
View raw message