Skip site navigation (1) Skip section navigation (2)

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

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
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 23:28:14
Message-ID: 5.0.2.1.0.20010130232641.00a23810@mail.retep.org.uk (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-jdbcpgsql-patches
At 17:23 30/01/01 -0500, Joseph Shraibman wrote:
>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.

A subset maybe, but there are some bits that reference classes introduced 
in JDK1.2.x and later, so would simply not work with 1.1.

Peter


In response to

pgsql-patches by date

Next:From: Ryan KirkpatrickDate: 2001-01-31 03:01:02
Subject: Re: A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....
Previous:From: Peter MountDate: 2001-01-30 23:25:06
Subject: Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems

pgsql-interfaces by date

Next:From: v jDate: 2001-01-31 05:09:47
Subject: JDBC Connection Problem
Previous:From: Peter MountDate: 2001-01-30 23:25:06
Subject: Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems

pgsql-jdbc by date

Next:From: Peter MountDate: 2001-01-30 23:31:53
Subject: Re: [JDBC] no way in LargeObject API to detect short read?
Previous:From: Peter MountDate: 2001-01-30 23:25:06
Subject: Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group