Hello
I am using defaultIdMethod="native" so that I can use an Oracle sequence
number (IDBroker). I was able to successfully insert a new record using the
sequence number generated by Oracle via Torque by adding primaryKey="true"
to one column. But now I would like to actually be able to write the same
sequence number to two columns instead of one. Will a simple addition of
primaryKey="true" to the second column do the trick or do I have to do
something else like add the record, read and update the second field once I
know the new sequence, and then update the record again? I would appreciate
it if someone would please suggest a solution. Thank you for your prompt
response.

Sincerely,
Juan

--
To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>

Reply via email to