pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Randall Smith <randall@tnr.cc>
To: pgsql-jdbc@postgresql.org
Subject: Re: query manipulation
Date: Tue, 20 Mar 2007 16:59:11 -0500
Message-ID: <etplfl$q1t$1@sea.gmane.org> (raw)
In-Reply-To: <54271772-A7CB-47D6-84EC-194A6F2F1A1C@fastcrypt.com>
References: <etmr99$4og$1@sea.gmane.org>
	<DD57BABC-5E3B-46EB-B5C7-A6AA78350279@fastcrypt.com>
	<1174339672.7880.107.camel@archimedes>
	<etpc85$ptq$1@sea.gmane.org>
	<54271772-A7CB-47D6-84EC-194A6F2F1A1C@fastcrypt.com>

Why couldn't I subclass PreparedStatement, then override 
PreparedStatement.prepareStatement?  When I proxy it, I get about 70 of 
these:

The type PreparedStatementProxy must implement the inherited abstract 
method Statement.getMaxRows()

Randall

Dave Cramer wrote:
> You don't want to do that you want proxy PreparedStatement, then 
> override PreparedStatement.prepareStatement
> 
> He is checking the return type of every method to see what is returning 
> a prepared statement
> 
> Dave




view thread (12+ messages)  latest in thread

Message-ID: <etplfl$q1t$1@sea.gmane.org>
Permalink:  ../etplfl$q1t$1@sea.gmane.org/
Also on:    postgresql.org/message-id/etplfl$q1t$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: randall@tnr.cc
  Subject: Re: query manipulation
  In-Reply-To: <etplfl$q1t$1@sea.gmane.org>
  References: <etmr99$4og$1@sea.gmane.org> <DD57BABC-5E3B-46EB-B5C7-A6AA78350279@fastcrypt.com> <1174339672.7880.107.camel@archimedes> <etpc85$ptq$1@sea.gmane.org> <54271772-A7CB-47D6-84EC-194A6F2F1A1C@fastcrypt.com> <etplfl$q1t$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox