• 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
Re: ERXExistsQualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXExistsQualifier


  • Subject: Re: ERXExistsQualifier
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 24 Apr 2015 19:22:55 +0930

Hi Dave,

On 24 Apr 2015, at 7:07 pm, David Avendasora <email@hidden> wrote:

I've found several edge cases where the exist qualifier doesn't work because the SQL it generates is invalid - partly because the WebObjects JDBCPlugIn class has a bug that simply sets the table alias to t0 no matter what you do. 

But there's good news! I've rewritten the qualifier from the ground up and determined the fix for the PlugIn that needs to be implemented in all the JDBCPlugIn plugins. 

I believe it now works across any number relationships, including flattened and compound PK tables - but it no longer has the option to use IN clause instead of an EXISTS clause. 

I'll go back to the room and document it a bit better and then release it into the wild. 

That sounds great Dave.  Some questions:

1.  Are you planning on committing an actual update to ERXExistsQualifier?  That would certainly be what I'd like to see.  I think Wonder has way too many deprecated classes (and methods) and class variants—you're not planning on adding ERXExistsQualifier2, are you?  :-)

2.  Assuming it's updating the existing class, will it be backwards-compatible?  I make a reasonable amount of use of ERXExistsQualifier—will it just be a drop-in replacement?

3.  Can you (or anyone) comment on any downside to not being able to generate EXISTS-based SQL?  (I never use it, just curious.)

4.  You mention plugin updates being required—how much work will be involved there?  Have you done any of it?  Can we help?  Will the changes to the plugins be isolated to using this qualifier?  That is, is there any risk of breaking the plugins?  (Personally I only care about PostgreSQL, but every plugin has some users.)

Thanks for working on this.  It's a great qualifier.


-- 
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: ERXExistsQualifier
      • From: David Avendasora <email@hidden>
References: 
 >ERXExistsQualifier (From: Thomas LATTER <email@hidden>)
 >Re: ERXExistsQualifier (From: Fabian Peters <email@hidden>)
 >Re: ERXExistsQualifier (From: Paul Hoadley <email@hidden>)
 >Re: ERXExistsQualifier (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: ERXExistsQualifier
  • Next by Date: problem with Entities and inherance
  • Previous by thread: Re: ERXExistsQualifier
  • Next by thread: Re: ERXExistsQualifier
  • Index(es):
    • Date
    • Thread