RE: Using bit in primary key not supported?
Thomas Fischer <[email protected]> Fri, 8 Oct 2010 09:23:15 +0200
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <OF72D4E43C.5335AF06-ONC12577B6.00285A13-C12577B6.00289572@seitenbau.net> |
> 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