cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Thelian <martin.thel...@lovo.cc>
Subject Re: More on Callbacks!
Date Wed, 17 Oct 2007 09:44:52 GMT
Hi!

Andrus Adamchik schrieb:
> We followed JPA spec and implemented PRE_PERSIST to be called when a
> new object is registered with the context (i.e. prior to
> 'commitChanges'). So you you are right - there is no callback for the
> new objects right before 'commit'.
> [...]
> Also as a temporary workaround you can use the old "callback"
> CayenneDataObject.validateForInsert()
Why do you call this function an "old" callback? Are there any plans to
remove it from a new release?

Martin

Mime
View raw message