> On Apr 8, 2006, at 1:43 AM, Bryan Lewis wrote: > > We occasionally get referential integrity errors from some old legacy > > data in our database. When we converted to Cayenne, I duplicated the > > old behavior by overriding resolveFault() in our DataObject superclass.
On 4/8/06, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > Here is a fairly easy way to subclass DataContext - in the Modeler > you can set a user defined DataContextFactory for a DataDomain. > > In the future catching bad faults maybe a good candidate for > including in the context delegate interface. I like this idea. In the past, I had to wrap code that referenced relationship methods with a try/catch to detect these.
