cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <>
Subject onPostAdd and nested object contexts
Date Mon, 31 Aug 2015 22:04:51 GMT
So I am having trouble because when I call commitChangesToParent on one of
my nested ECs, I'm getting onPostAdd called.  So in my case, I'm using
onPostAdd to "setup" my object by creating relationships and setting
default values.  However, it's getting called twice.  Once when I create
the object in the child context and once on the parent context (during

Any ideas on how to combat this?


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