• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: recovering from a validation exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: recovering from a validation exception
      • From: Alexandre Mainville <email@hidden>
References: 
 >recovering from a validation exception (From: Alexandre Mainville <email@hidden>)

  • Prev by Date: Re: D2W Custom component
  • Next by Date: Re: EOModeler
  • Previous by thread: recovering from a validation exception
  • Next by thread: Re: recovering from a validation exception
  • Index(es):
    • Date
    • Thread