Can anybody tell me if calling save() on a new object sets the primary key
id of the object, so that I can say getPrimaryKey() after calling save.
The reason being I need the PK of the newly created object after calling
save and I know doInsert on the objectPeer class returns the PK but I can't
seem to work out if the save method sets the PK?

I want to say 
object.save();  /*object does not have the primary key set as I am using an
auto increment*/
pk = object.getPrimaryKey();

Cheers

Paul

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

Reply via email to