Re: recovering from a validation exception
Re: recovering from a validation exception
- Subject: Re: recovering from a validation exception
- From: Sacha Mallais <email@hidden>
- Date: Wed, 20 Apr 2005 17:19:14 -0700
On Apr 20, 2005, at 1:11 pm, Alexandre Mainville wrote:
Is it necessary to revert an eo that caused a validation exception in
a java client application?
You definitely should not need to. Of course, you won't be able to
commit that eo until it is valid.
Failure to do so seems to produce spurious optimistic locking
exceptions with subsequent saves.
That's strange. Is there any chance that something else commits to the
database? Can you post the exception?
FYI, here are the relevant Apple docs:
http://developer.apple.com/documentation/WebObjects/Enterprise_Objects/
UpdateStrategies/chapter_9_section_1.html
sacha
--
Sacha Michel Mallais - 400 lb. chimp
Global Village Consulting Inc.: http://www.global-village.net/
Choke on that, causality! -- the Professor, "Futurama"
_______________________________________________
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