• 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
Disable constraint checking under H2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disable constraint checking under H2


  • Subject: Disable constraint checking under H2
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 20 Mar 2013 14:35:07 +1030

Hello,

In production we use PostgreSQL, but I am investigating the possibility of running functional tests (using Selenium WebDriver) during continuous integration, so I'm looking at getting a particular application running with H2.  H2 doesn't support deferred constraints, and it doesn't take very long for that to become an issue.  I've tried using ERXEntityDependencyOrderingDelegate, but it bailed out because of a circular reference in a model.  As an aside, it's complaining about an optional circular reference (where every Person has an Organisation, and Organisations have an optional 'creator' pointing back to Person)—it's certainly _right_, but I dug up a thread where someone seemed to be suggesting that _optional_ relationships wouldn't be a problem.  Maybe it needs to be optional in both directions.

In any case, I'm slightly stuck.  Before I start looking at H2's "SET REFERENTIAL_INTEGRITY FALSE" statement, can anyone suggest a more subtle workaround for this?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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: Disable constraint checking under H2
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Correcting the cgi-bin linkage in a WebObjects/Wonder deploy
  • Next by Date: Re: Disable constraint checking under H2
  • Previous by thread: Using WebLogic as a servlet container?
  • Next by thread: Re: Disable constraint checking under H2
  • Index(es):
    • Date
    • Thread