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 22:28:58 -0500
Message-ID: <etq8q1$f63$1@sea.gmane.org> (raw)
In-Reply-To: <46005B47.2030904@opencloud.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>
	<etplfl$q1t$1@sea.gmane.org>
	<46005B47.2030904@opencloud.com>

Thanks.

I promise I'm not a raving lunatic.  I've actually done this before in 
Python, http://pydal.sourceforge.net/, but Java is new territory for me.

Randall

Oliver Jowett wrote:
> Randall Smith wrote:
>> Why couldn't I subclass PreparedStatement, then override 
>> PreparedStatement.prepareStatement?
> 
> Because PreparedStatement is an interface, not a class.
> 
>> When I proxy it, I get about 70 of these:
>>
>> The type PreparedStatementProxy must implement the inherited abstract 
>> method Statement.getMaxRows()
> 
> Dave meant using java.lang.reflect.Proxy not implementing the whole 
> class yourself (which you could do, it's just tedious)
> 
> -O
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>               http://www.postgresql.org/docs/faq
> 




view thread (12+ messages)  latest in thread

Message-ID: <etq8q1$f63$1@sea.gmane.org>
Permalink:  ../etq8q1$f63$1@sea.gmane.org/
Also on:    postgresql.org/message-id/etq8q1$f63$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: <etq8q1$f63$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> <46005B47.2030904@opencloud.com> <etq8q1$f63$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