• 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: ec.saveChages gives null exception (didn't before)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ec.saveChages gives null exception (didn't before)


  • Subject: Re: ec.saveChages gives null exception (didn't before)
  • From: Arturo Perez <email@hidden>
  • Date: Mon, 07 Mar 2005 11:55:27 -0500

Zak Burke wrote:
When I've hit this problem in the past, it's been either (1) the result of an unsatisfied foreign key constraint,

In the former case, the solutions suggested to me were either (a) turn off database constraints or (b) write a delegate to intercept and re-order these queries. The Right Way is (b) i think, but I haven't figured out how to do that yet, so (a) it is.


Another, better, way is to set database constraints to be DEFERRED. This means they are only checked on commit.
_______________________________________________
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
References: 
 >ec.saveChages gives null exception (didn't before) (From: Drew Thoeni <email@hidden>)
 >Re: ec.saveChages gives null exception (didn't before) (From: Zak Burke <email@hidden>)

  • Prev by Date: Re: ec.saveChages gives null exception (didn't before)
  • Next by Date: How to avoid innumerable sessions being created by robots
  • Previous by thread: Re: ec.saveChages gives null exception (didn't before)
  • Next by thread: Re: ec.saveChages gives null exception (didn't before)
  • Index(es):
    • Date
    • Thread