cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Lamy <>
Subject Simple callback question
Date Fri, 24 Jul 2009 03:15:38 GMT
Should the preUpdate callback event get fired for both new and existing

The behavior I'm seeing (3.0M5) is that preUpdate is not getting called when
saving my new object, but does get called when saving an existing object.
prePersist is not the correct time for my event code to run.. I need to have
this run during the commit phase, not during the creation phase.

Please let me know if this is surprising or not.  And if not, do I have any
choices to get the behavior I need?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message