Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Peter T Mount <peter(at)retep(dot)org(dot)uk>
Cc: Michael Stephenson <mstephenson(at)tirin(dot)openworld(dot)co(dot)uk>, PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems
Date: 2001-01-30 22:23:18
Message-ID: 3A773ED6.8B66A48B@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-jdbc pgsql-patches

Peter T Mount wrote:
>
> Quoting Joseph Shraibman <jks(at)selectacast(dot)net>:
>
> > Michael Stephenson wrote:
> > >
> > > On Wed, 24 Jan 2001, Joseph Shraibman wrote:
> > >
> > > > > What was the conclusion of this discussion? Do we leave it
> > static?
> > > >
> > > > No, it cannot be static.
> > >
> > > As I see it we have three possible solutions to this problems.
> > >
> > > a) Just stop it being static, each PreparedStatement gets a new
> > > instantiation (I think this is what we've done for now).
> > > b) static ThreadLocal, each Thread gets one instantiation.
> >
> > But I think some people are still using java 1.1.x and they don't have
> > ThreadLocal.
>
> True, except the 1.1 & 1.2 implementations are different packages, so you
> simply don't do ThreadLocal in 1.1.x
>

Umm, not exactly. You can use jdbc 2 with java 1.1.x by downloading a
seperate package. I'm not sure how many people do this, but I imagine
there are a few.

--
Joseph Shraibman
jks(at)selectacast(dot)net
Increase signal to noise ratio. http://www.targabot.com

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2001-01-30 22:24:16 Re: [JDBC] Re: Postgresql and JDBC
Previous Message Chris Hayner 2001-01-30 21:05:52 ODBC Installation woes

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Mount 2001-01-30 22:24:16 Re: [JDBC] Re: Postgresql and JDBC
Previous Message Chris Hayner 2001-01-30 21:05:52 ODBC Installation woes

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Mount 2001-01-30 23:25:06 Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems
Previous Message Bruce Momjian 2001-01-30 17:39:32 Re: A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....