RE: Re: [PATCHES] Array Support Fix - Mailing list pgsql-jdbc

From Dave Cramer
Subject RE: Re: [PATCHES] Array Support Fix
Date
Msg-id 013d01c12aab$3d49de70$c201a8c0@inspiron
Whole thread Raw
In response to Re: Re: [PATCHES] Array Support Fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-jdbc
The jdbc1 driver is another story.

The problem is that jdbc1 does not define Types.ARRAY so this constant
isn't available during compile time.

The two solutions I have been able to come up with are

1) make two Field.java files and place them in jdbc1, jdbc2 directories
2) use ants filtering feature to comment out the code in jdbc1.

Any thoughts on two IMO poor solutions, or better yet a good solution ?

Dave

-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: August 21, 2001 9:30 PM
To: dave@fastcrypt.com
Cc: 'PostgreSQL jdbc list'; PostgreSQL-patches
Subject: Re: [JDBC] Re: [PATCHES] Array Support Fix


> Bruce,
>
> I just checked out the source from cvs and it compiles the version 2
> drivers fine. Version 1 drivers need some work..
>

Yes, it compiles now fine too.  Must have been that last patch that
fixed it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania
19026



pgsql-jdbc by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [PATCHES] Array Support Fix
Next
From: Barry Lind
Date:
Subject: Re: JDBC changes for 7.2... some questions...