Thanks everybody for useful suggestions. 

Actually, the tables I use have more complicated structures (each table has
it's own id key, etc.). I just wanted to understand why the char field.
which I defined as PK, is automatically filled with int value by the
idBroker. I believe, it's not intuitive behavior - I expected that idBroker
would, at least, check that the object I create and save already has PK
field set and would not generate new id automatically. 

In any case, the idMethod="none" attribute makes it more flexible.

Thanks again,
-- Lev
-- 
View this message in context: 
http://www.nabble.com/Primary-key-is-set-to-the-foreign-key-value-tp25283761p25317361.html
Sent from the Apache DB - Torque Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to