Re: Foreign keys and database operation ordering
Re: Foreign keys and database operation ordering
- Subject: Re: Foreign keys and database operation ordering
- From: Lachlan Deck <email@hidden>
- Date: Thu, 12 Feb 2009 12:32:52 +1100
Hi Chuck,
On 12/02/2009, at 5:28 AM, Chuck Hill wrote:
Use Wonder. Set main() in Application up like this:
public static void main(String argv[])
{
ERXDatabaseContextMulticastingDelegate.addDefaultDelegate(new
ERXEntityDependencyOrderingDelegate());
// Ensure that we get proper error pages when an exception
happens in a direct action.
// This must go here and not in the constructor or it won't
work.
System.setProperty("WODisplayExceptionPages", "true");
WOApplication.main(argv, Application.class);
}
Is it too late doing this in installPatches()?
with regards,
--
Lachlan Deck
_______________________________________________
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