cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <h...@karlmenn.is>
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).

Cheers,
- hugi
Mime
View raw message