Re: Pre-save actions for enterprise objects
Re: Pre-save actions for enterprise objects
- Subject: Re: Pre-save actions for enterprise objects
- From: Mark Wardle <email@hidden>
- Date: Wed, 26 May 2010 22:12:34 +0100
On 26 May 2010 22:03, Chuck Hill <email@hidden> wrote:
> On May 26, 2010, at 1:59 PM, Mark Wardle wrote:
>> I'm using Wonder extensively and so have noted the willUpdate() hook
>> provided. Can I include such code there?
>
> Yes. That is called before saveChanges() starts. Note that there is
> guarantee that the saveChanges() following this will succeed, there could be
> a validation or database exception.
Excellent. Thank you. It makes searching a (fundamentally
hierarchical) nomenclature much easier if I can pre-optimise and cache
the calculated "IS-A" parent concepts at data entry time.
Mark
--
Dr. Mark Wardle
Specialist registrar, Neurology
Cardiff, UK
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden