• 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
Preferred way for fetching with given SQL select statement?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preferred way for fetching with given SQL select statement?


  • Subject: Preferred way for fetching with given SQL select statement?
  • From: Markus Ruggiero <email@hidden>
  • Date: Thu, 24 Sep 2015 16:22:32 +0200

Folks,

What is the preferred way to fetch EOs when you have a db vendor specific "select id from ... where ....." statement?

I need to interface with a legacy system where I have to incorporate the functionality of an external java tool into a Wonder app. This external tool executes raw SQL select statements which it reads from a file. All the statements are in the form given above and return a list of primary key values (single column fortunately). The tool then iterates through that list and does whatever it has to do (issuing tons of more raw sql). My problem is that these select statements are rather complex and there are many of them. It is just not feasible to replace those with proper EOQualifiers. In addition these statements are parameterized with ? so they can be precompiled and then used with different query values. However everything can be done with standard EOs as soon as I have those corresponding to the returned list of ids.

Thanks a lot
---markus---
 _______________________________________________
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: Preferred way for fetching with given SQL select statement?
      • From: Markus Ruggiero <email@hidden>
  • Prev by Date: Re: Joda LocalTime attribute in ERRest
  • Next by Date: Re: Preferred way for fetching with given SQL select statement?
  • Previous by thread: Re: AjaxFlickrBatchNavigation
  • Next by thread: Re: Preferred way for fetching with given SQL select statement?
  • Index(es):
    • Date
    • Thread