Thread: Re: [GENERAL] postgresql7.0 jdbc driver

Re: [GENERAL] postgresql7.0 jdbc driver

From
Bruce Momjian
Date:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> HI guys
> Thanx for the quick reply.. 
> 
> When i tried compiling jdbc for postgresql700 I encounter the following error
> 
> postgres@localhost > make jdbc1
> (echo "package postgresql;" ;\
>  echo "public class DriverClass {" ;\
>  echo "public static String connectClass=\"postgresql.jdbc1.Connection\";" ;\
>  echo "}" \
> ) >postgresql/DriverClass.java
> make[1]: Entering directory `/usr/src/postgresql-7.0beta5/src/interfaces/jdbc'
> javac -g postgresql/DriverClass.java
> javac -g postgresql/Connection.java
> postgresql/Connection.java:447: Wrong number of arguments in constructor.
>                 fields[i] = new Field(this, typname, typid, typlen, typmod);
>                             ^
> 1 error
> make[1]: *** [postgresql/Connection.class] Error 1
> make[1]: Leaving directory `/usr/src/postgresql-7.0beta5/src/interfaces/jdbc'
> make: *** [jdbc1] Error 2
> 
> same is the case with $ make jdbc2

What java are you using?

--  Bruce Momjian                        |  http://www.op.net/~candle 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,
Pennsylvania19026
 


Re: [GENERAL] postgresql7.0 jdbc driver

From
"Anand Raman"
Date:
Hi Bruce
I am using jdk1.2.2 
java version "1.2.2-RC2"
Classic VM (build 1.2.2-RC2-K, green threads, javacomp) 
Bye
Anand Raman
----- Original Message ----- 
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Anand Raman <araman@india-today.com>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Sent: Wednesday, May 03, 2000 9:23 AM
Subject: Re: [GENERAL] postgresql7.0 jdbc driver


> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > HI guys
> > Thanx for the quick reply.. 
> > 
> > When i tried compiling jdbc for postgresql700 I encounter the following error
> > 
> > postgres@localhost > make jdbc1
> > (echo "package postgresql;" ;\
> >  echo "public class DriverClass {" ;\
> >  echo "public static String connectClass=\"postgresql.jdbc1.Connection\";" ;\
> >  echo "}" \
> > ) >postgresql/DriverClass.java
> > make[1]: Entering directory `/usr/src/postgresql-7.0beta5/src/interfaces/jdbc'
> > javac -g postgresql/DriverClass.java
> > javac -g postgresql/Connection.java
> > postgresql/Connection.java:447: Wrong number of arguments in constructor.
> >                 fields[i] = new Field(this, typname, typid, typlen, typmod);
> >                             ^
> > 1 error
> > make[1]: *** [postgresql/Connection.class] Error 1
> > make[1]: Leaving directory `/usr/src/postgresql-7.0beta5/src/interfaces/jdbc'
> > make: *** [jdbc1] Error 2
> > 
> > same is the case with $ make jdbc2
> 
> What java are you using?
> 
> -- 
>   Bruce Momjian                        |  http://www.op.net/~candle
>   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
>