Hi NG,

in michaels posting my experience with torque I read the following:
        in torque's docs i have not seen any word speaking about the restriction to
single column pk tables.

Are there no another way to solve this problem, if I have single column pk
tables.
In my schema I use the  defaultIdMethod="native"


<table name="freetext" description="freetext">
<column
  name="id_freetext"
  required="true"
  primaryKey="true"
  type="INTEGER"
  size="5"
  description="ID Freetext"/>
<id-method-parameter value="freetext_seq"/>
</table>

How can I set any value to a table, which is defined like the table above ??

I've tried the following code but it doesn't works:

Torque.init("Torque.properties");

Freetext freetext = new Freetext();
freetext.save();

Any help is appreciated!

Regards
Ferruh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to