cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <>
Subject Obtain primary key for DataObject before commitChanges
Date Mon, 10 Aug 2015 10:31:02 GMT
Hi all.
Is it possible for me to obtain the primary key for a Cayenne DataObject before committing
changes? I’m writing an audit log and I need the key for the object during PrePersist (where
I’m constructing the log object).

- hugi
View raw message