postgresql7.0 jdbc driver
Hi guys
I tried compliling JDBC 1.2 driver for postgresql7.0 .. However things didnt work out as expected..
Can anybody please send it to me thru a personal email.. The site has a version of postgresql.jar
but then it was compiled for 6.5.2.. Can i use the same jar file or do i need to get a seperate one
for 7.0
Any help will be appreciated
Bye
Anand
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hi guys I tried compliling JDBC 1.2 driver for postgresql7.0 ..
However things didnt work out as expected.. Can anybody please
send it to me thru a personal email.. The site has a version of
postgresql.jar but then it was compiled for 6.5.2.. Can i use
the same jar file or do i need to get a seperate one for 7.0
Any help will be appreciated Bye Anand
We were discussing it just today. We hope to have the web site updated
soon. Can you describe the problem you are having?
--
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
On Tue, 2 May 2000, Anand Raman wrote:
Hi guys
I tried compliling JDBC 1.2 driver for postgresql7.0 .. However things didnt work out as expected..
Hmmm, a descriptive type. _What_ went wrong?
Can anybody please send it to me thru a personal email.. The site has a version of postgresql.jar
but then it was compiled for 6.5.2.. Can i use the same jar file or do i need to get a seperate one
for 7.0
Any help will be appreciated
Bye
Anand
--
Tom Cook - Software Engineer
"Never criticize a man until you've walked a mile in his shoes; that way,
when you criticize him, you're a mile away and have his shoes."
- A froggy bloke on a news group.
LISAcorp - www.lisa.com.au
--------------------------------------------------
38 Greenhill Rd. Level 3, 228 Pitt Street
Wayville, SA, 5034 Sydney, NSW, 2000
Phone: +61 8 8272 1555 Phone: +61 2 9283 0877
Fax: +61 8 8271 1199 Fax: +61 2 9283 0866
--------------------------------------------------
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
Thanx for the assitance
Anand Raman
----- Original Message -----
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Anand Raman <araman@india-today.com>
Cc: <pgsql-general@postgresql.org>
Sent: Tuesday, May 02, 2000 6:49 PM
Subject: Re: [GENERAL] postgresql7.0 jdbc driver
Show quoted text
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hi guys I tried compliling JDBC 1.2 driver for postgresql7.0 ..
However things didnt work out as expected.. Can anybody please
send it to me thru a personal email.. The site has a version of
postgresql.jar but then it was compiled for 6.5.2.. Can i use
the same jar file or do i need to get a seperate one for 7.0
Any help will be appreciated Bye AnandWe were discussing it just today. We hope to have the web site updated
soon. Can you describe the problem you are having?
[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 2same 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
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
Show quoted text
[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 2same 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
Hmmm, interesting, especially as Field hasn't changed since 6.5.2...
Peter
--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.
-----Original Message-----
From: Anand Raman [mailto:araman@india-today.com]
Sent: Wednesday, May 03, 2000 5:17 AM
To: Bruce Momjian
Cc: PostgreSQL-development
Subject: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
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
Show quoted text
Import Notes
Resolved by subject fallback
Is this the blackdown one?
I've just compiled from fresh using 1.3.0RC3-Z (suns one for NT) and no
problems. I've just downloaded 1.2.2 from a blackdown mirror (getting
1.1.8) for Linux, so should know the build status with blackdown
shortly...
Peter
-----Original Message-----
From: Anand Raman [mailto:araman@india-today.com]
Sent: Wednesday, May 03, 2000 5:17 AM
To: Bruce Momjian
Cc: PostgreSQL-development
Subject: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
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
Show quoted text
Import Notes
Resolved by subject fallback
yes peter
U are right,.. The java compiler is a blackdown port..
What i do from here.. I am running SuSE 6.2 with jdk1.2.2. from blackdown
Thanx and bye
Anand Raman
----- Original Message -----
From: Peter Mount <petermount@it.maidstone.gov.uk>
To: 'Anand Raman' <araman@india-today.com>; Bruce Momjian <pgman@candle.pha.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Sent: Wednesday, May 03, 2000 2:37 PM
Subject: RE: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
Show quoted text
Is this the blackdown one?
I've just compiled from fresh using 1.3.0RC3-Z (suns one for NT) and no
problems. I've just downloaded 1.2.2 from a blackdown mirror (getting
1.1.8) for Linux, so should know the build status with blackdown
shortly...Peter
-----Original Message-----
From: Anand Raman [mailto:araman@india-today.com]
Sent: Wednesday, May 03, 2000 5:17 AM
To: Bruce Momjian
Cc: PostgreSQL-development
Subject: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driverHi 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 StringconnectClass=\"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 inconstructor.
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
That's weird, as that's the same platform what I'm using (SuSE 6.2,
JDK1_2_2):
make[1]: Entering directory
`/var/lib/pgsql/pgsql/pgsql/src/interfaces/jdbc'
javac -g org/postgresql/DriverClass.java
javac -g org/postgresql/Connection.java
javac -g org/postgresql/geometric/PGbox.java
javac -g org/postgresql/geometric/PGcircle.java
javac -g org/postgresql/geometric/PGline.java
javac -g org/postgresql/geometric/PGlseg.java
javac -g org/postgresql/geometric/PGpath.java
javac -g org/postgresql/geometric/PGpolygon.java
javac -g org/postgresql/util/PGmoney.java
javac -g org/postgresql/jdbc2/ResultSet.java
javac -g org/postgresql/jdbc2/CallableStatement.java
Note: org/postgresql/jdbc2/CallableStatement.java uses or overrides a
deprecated API. Recompile with "-deprecation" for details.
1 warning
PS: I'm looking at those warnings (simply have to add @deprecated tags
before the offending methods).
Peter
--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.
-----Original Message-----
From: Anand Raman [mailto:araman@india-today.com]
Sent: Wednesday, May 03, 2000 10:35 AM
To: Peter Mount; Bruce Momjian
Cc: PostgreSQL-development
Subject: Re: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
yes peter
U are right,.. The java compiler is a blackdown port..
What i do from here.. I am running SuSE 6.2 with jdk1.2.2. from
blackdown
Thanx and bye
Anand Raman
----- Original Message -----
From: Peter Mount <petermount@it.maidstone.gov.uk>
To: 'Anand Raman' <araman@india-today.com>; Bruce Momjian
<pgman@candle.pha.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Sent: Wednesday, May 03, 2000 2:37 PM
Subject: RE: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
Is this the blackdown one?
I've just compiled from fresh using 1.3.0RC3-Z (suns one for NT) and
no
problems. I've just downloaded 1.2.2 from a blackdown mirror (getting
1.1.8) for Linux, so should know the build status with blackdown
shortly...Peter
-----Original Message-----
From: Anand Raman [mailto:araman@india-today.com]
Sent: Wednesday, May 03, 2000 5:17 AM
To: Bruce Momjian
Cc: PostgreSQL-development
Subject: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driverHi 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 StringconnectClass=\"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 inconstructor.
fields[i] = new Field(this, typname, typid,
typlen,
Show quoted text
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
Import Notes
Resolved by subject fallback
Hi peter
Which beta release of postgresql700 are you using.
I am on postgresql 7.0 beta5
Could it cause the mentioned problems
Thanx for ur time
Anand Raman
----- Original Message -----
From: Peter Mount <petermount@it.maidstone.gov.uk>
To: 'Anand Raman' <araman@india-today.com>; Bruce Momjian <pgman@candle.pha.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Sent: Wednesday, May 03, 2000 12:28 PM
Subject: RE: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
Show quoted text
Hmmm, interesting, especially as Field hasn't changed since 6.5.2...
Peter
A fresh CVS copy from about 0900 this morning (UK time). For JDBC that
should be the same as the current release candidate.
Peter
-----Original Message-----
From: Anand Raman [mailto:araman@india-today.com]
Sent: Wednesday, May 03, 2000 11:53 AM
To: Peter Mount; Bruce Momjian
Cc: PostgreSQL-development
Subject: Re: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
Hi peter
Which beta release of postgresql700 are you using.
I am on postgresql 7.0 beta5
Could it cause the mentioned problems
Thanx for ur time
Anand Raman
----- Original Message -----
From: Peter Mount <petermount@it.maidstone.gov.uk>
To: 'Anand Raman' <araman@india-today.com>; Bruce Momjian
<pgman@candle.pha.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Sent: Wednesday, May 03, 2000 12:28 PM
Subject: RE: [HACKERS] Re: [GENERAL] postgresql7.0 jdbc driver
Show quoted text
Hmmm, interesting, especially as Field hasn't changed since 6.5.2...
Peter
Import Notes
Resolved by subject fallback