cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: Can default values be set in Constructor instead of setPersistenceState()?
Date Fri, 03 Aug 2012 07:58:58 GMT

I am not aware of any issues with PostAdd. Your best bet is to debug inside Cayenne DataContext.newObject(..).
Specifically in BaseContext there is a method "injectInitialValue" that has this line at the

  // invoke callbacks

This is where callbacks are invoked. Please share what you find here, and maybe based on those
clues we can unwind it further.


On Aug 3, 2012, at 9:08 AM, KM wrote:

> Removed the check for the key.
> It seems that the problem is that this is not getting fired at all.
> Breakpoint is not being hit. This is strange.
> I have checked for the abstract declaration in the parent class. Setting
> this up in the modeler.
> Has anyone faced this problem before?
> Thanks
> Kanwar Manish
> --
> View this message in context:
> Sent from the Cayenne - User mailing list archive at

View raw message