Re: ERXExistsQualifier and compound keys in t0
Paul Hoadley <[email protected]> Thu, 5 Mar 2015 21:51:13 +1030
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Hi Fabian, I can provide an empirical perspective on these first couple of points: On 5 Mar 2015, at 8:02 pm, Fabian Peters <[email protected]> wrote: > It looks like you're using compound PKs. AFAIR ERExistsQualifier does not handle flattened relationships. Definitely true. (I've tried it and failed.) > I don't know about compound PKs. There might be some caveats around compound PKs in the general case, I'm not sure, but I have an existence proof that it doesn't fail in every case. As noted earlier, I'm definitely using ERXExistsQualifier with a join entity involving a compound PK. What you definitely can't do is ask the qualifier to generate SQL with an IN clause in that case, though. Otherwise, it certainly works for me. -- Paul Hoadley http://logicsquad.net/ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/