If the “SQLHelper” you are thinking of is the same one that is in my mind… that 
is a Wonder thing. It is used for top-n queries like in the “batching display 
group” and other places. 
AARON ROSENZWEIG / Chat 'n Bike
e:  [email protected]  t:  (301) 956-2319             
        

On Jan 14, 2014, at 8:13 AM, David Avendasora <[email protected]> wrote:

> Okay, I’m not sure I understand the devision-of-labor here.
> 
> When should code for generating SQL be put in a PlugIn's SQLHelper and when 
> should it be put in the EOSchemaSynchronizationFactory?
> 
> Is there a general rule, or is it a "wherever-is-more-convienient” kind of 
> thing?
> 
> It seems to me if the code you want SQL created for is modifying the 
> structure of the DB, it should be in the EOSchemaSynchronizationFactory 
> subclass, and the SQLHelper subclass would be the place for SQL that 
> inserts/updates/deletes data and that one of them would be responsible for 
> the common things like if identifiers should be quoted, etc.
> 
> Or, as usual, am I missing some other fundamental concept that would make 
> this question meaningless?
> 
> Dave
> 
> 
> —————————————————————————————
> WebObjects - so easy that even Dave Avendasora can do it!™
> —————————————————————————————
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to