hi sam, i think that you can get the pk through the snapshot of the object after it has been committed to the context:
http://cayenne.apache.org/doc12/accessing-pk-and-fk-values.html -----Ursprüngliche Nachricht----- Von: Sam Shah [mailto:[EMAIL PROTECTED] Gesendet: Montag, 26. Februar 2007 06:57 An: [email protected] Betreff: Getting primary key of object after save > Is there any way to get the primary key of the object immediately > after you save it in cayenne on the client side in 3 tier. We need > this to refetch the object after it has been saved
