• 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: Customizing the EOSortOrdering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing the EOSortOrdering


  • Subject: Re: Customizing the EOSortOrdering
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 28 Mar 2006 08:21:57 +0200

The sql is generated in the expression class of the the plugin for your db.

You could for example generate the expression, get the statement, fix it and put it into the fetch spec as a hint, probably in a DBC delegate. Or you could write your own plugin by subclassing the oracle plugin and override

public String assembleSelectStatementWithAttributes(NSArray attributes,
boolean lock,
EOQualifier qualifier,
NSArray fetchOrder,
String selectString,
String columnList,
String tableList,
String whereClause,
String joinClause,
String orderByClause,
String lockClause) {
Cheers, Anjo



Am 28.03.2006 um 05:47 schrieb David Sargent:

The question is how is the best way to get WO to allow me to use this oracle feature. I looked at overriding the EOSortOrdering to create my own. Not clear on where the SQL is generated. Any suggestions would be appreciated. I have too many records to do it internally. I have looked at doing rawRowsForSQL and then convert the objects to EO. That solution will cause me some problems in another area. Any other suggestion would be very much appreciated.

_______________________________________________ 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
References: 
 >Customizing the EOSortOrdering (From: David Sargent <email@hidden>)

  • Prev by Date: Re: Object not registered in any editingContext?
  • Next by Date: Re: Automatic operation at application statup - once for each instance
  • Previous by thread: Customizing the EOSortOrdering
  • Next by thread: Memory Profiler
  • Index(es):
    • Date
    • Thread