I remember facing a similar question when I wanted to add an http timeout to GetQuery. These classes could be much more usefully extended if some of their important locals were marked protected instead of private. (Not that it's an easy decision to know when to do that when you're implementing the base class. Pivot seems to take the conservative approach of marking everything private for which Pivot does not itself have a subclass that wants access.)
On Sat, Aug 6, 2011 at 6:49 AM, Thomas G. Schuessler <[email protected]> wrote: > I cannot access the connection since it is local to Query's execute method. > The only ways I can think of to fix this, are: > 1. Copy the complete Query.execute, modify it in MyPostQuery, and not call > the inherited method at all. > 2. Create my own abstract Query class and subclass that.
