Re: DB2 and WebObjects
Re: DB2 and WebObjects
- Subject: Re: DB2 and WebObjects
- From: Chuck Hill <email@hidden>
- Date: Mon, 7 Apr 2008 07:25:22 -0700
On Apr 7, 2008, at 2:19 AM, David Avendasora wrote:
I'm not sure I'd call it a "bug" as Chuck's original code does the
Right Thing® in 99.9% of the situations you'd use it.
If my code does not work in 0.1% of situations, then I'd consider it
buggy. But that is just me. :-)
But, being the PITA that I am, I've come up with a situation where
even though the his code can't verify that what I'm doing is safe
from a referential-integrity perspective, I know it will be safe due
to my specific business-logic rules.
So, if by saying he gave me a patch for the bug, he means he told me
which safety to disable, I guess that would be about right. :-)
IIRC, there was also a change from entity().name() to
entity.externalName().
Chuck
On Apr 6, 2008, at 8:26 PM, Chuck Hill wrote:
David Avendasora pointed out a bug in it if you are using self-
referential relationships (entity with a relationship to itself).
I gave him a patch, but I really need to rethink some parts of that
code. It works for most things, but I think there are some more
buggy cases. It also does not (yet) order operations on the same
table which self-referential relationships really need.
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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