Re: Questions on property values

From: Craig Servin <cservin(at)cromagnon(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Questions on property values
Date: 2005-05-18 10:22:51
Message-ID: 200505180522.52317.cservin@cromagnon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

When I have needed to do this I have used a dynamic proxy, using
java.lang.reflect.Proxy, to extend Connection, Statement, and ResultSet.

This does not solve the problem at the driver level, but it does allow you a
lot of control to decide when and how often you re-try a query and when you
need to re-open the connection.

You can also make it very database independent.

It does however incur some extra overhead.

Craig

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message William Shatner 2005-05-18 10:36:30 Storing/Using Passwords
Previous Message Guillaume Cottenceau 2005-05-18 08:31:17 Re: convert 'foobar'::text to the string foobar