Re: Using bit in primary key not supported?

2010-10-09 Thread Thomas Fox
In Torque 3.3 it does not work, sorry. I created a jira issue https://issues.apache.org/jira/browse/TORQUE-151 However I created a fix for Torque 4.0, see commits at the jira issue. If you want you can try to backport the fix to 3.3. You need to fix the runtime and the templates. Thomas >

Re: Using bit in primary key not supported?

2010-10-08 Thread Martin Tilsted
You are right torque can't generate composite keys. Don't know what I was thinking. I have changed it to none now. But it seems torque does know that it can't generate composite keys becasue it generate exactly the same file with idMethod=native as it does when idMethod=none. Only difference b

RE: Using bit in primary key not supported?

2010-10-08 Thread Thomas Fischer
> In my schema.xml file I have > > > type="VARCHAR"/> > type="BIT"/> > > 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 ---