pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedJdbc Trouble
6+ messages / 5 participants
[nested] [flat]
* Jdbc Trouble
@ 2000-11-24 21:22 Manish Vig <sk@pobox.com>
0 siblings, 0 replies; 6+ messages in thread
From: Manish Vig @ 2000-11-24 21:22 UTC (permalink / raw)
To: pgsql-interfaces
Dear Sir,
I am trying to access postgres through a jdbc connection but i get
NoSuitable river at RunTime.I had put the jar files after extracting them
in jdk1.2/jre/lib/ext directory.
Do I need to rename the Jarfile?
Where do i put the jar files that i get by extracting the driver provided.
on download iget two jar file named 7.0-1.1 and 7.0-1.2
and not one jar file named postgresql.jar
Please Help
With Best Regards
Manish
^ permalink raw reply [nested|flat] 6+ messages in thread
* RE: Jdbc Trouble
@ 2000-11-28 07:52 Peter Mount <petermount@maidstone.gov.uk>
0 siblings, 0 replies; 6+ messages in thread
From: Peter Mount @ 2000-11-28 07:52 UTC (permalink / raw)
To: 'Manish Vig' <sk@pobox.com>; pgsql-interfaces
Answers prefixed with PM:
--
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount@maidstone.gov.uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council
-----Original Message-----
From: Manish Vig [mailto:sk@pobox.com]
Sent: Friday, November 24, 2000 9:23 PM
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] Jdbc Trouble
Dear Sir,
I am trying to access postgres through a jdbc connection but i get
NoSuitable river at RunTime.I had put the jar files after extracting them
in jdk1.2/jre/lib/ext directory.
Do I need to rename the Jarfile?
PM: No, the naming of the jar file is irrelavent in this case. Are you
loading the driver with Class.forName("org.postgresql.Driver"); ?
Where do i put the jar files that i get by extracting the driver provided.
on download iget two jar file named 7.0-1.1 and 7.0-1.2
and not one jar file named postgresql.jar
PM: Those are the two versions of the driver, one for JDK1.1 the other for
JDK1.2. You need to put the 7.0-1.2 jar file into your lib/ext directory.
Get rid of the 7.0-1.1. If you want, you can rename 7.0-1.2 as
postgresql.jar
Please Help
With Best Regards
Manish
^ permalink raw reply [nested|flat] 6+ messages in thread
* JDBC Trouble
@ 2001-01-11 14:01 Massimo Luise <maxluise@altavista.net>
2001-01-15 02:04 ` Re: JDBC Trouble Bruce Momjian <pgman@candle.pha.pa.us>
2001-01-15 02:05 ` Re: JDBC Trouble Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 2 replies; 6+ messages in thread
From: Massimo Luise @ 2001-01-11 14:01 UTC (permalink / raw)
To: pgsql-admin@postgresql.org
Hello to all,
I'm writing because i have noticed a problem with the JDBC driver:
JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
"ResultSet.first()". With the postgresql jdbc driver this is not true.
I suppose that this problem happens because theVector implementation of
ResultSet.
There is someone that has investigated this problem and can help me ?
Thanks to all.
Max
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: JDBC Trouble
2001-01-11 14:01 JDBC Trouble Massimo Luise <maxluise@altavista.net>
@ 2001-01-15 02:04 ` Bruce Momjian <pgman@candle.pha.pa.us>
1 sibling, 0 replies; 6+ messages in thread
From: Bruce Momjian @ 2001-01-15 02:04 UTC (permalink / raw)
To: Massimo Luise <maxluise@altavista.net>; +Cc: pgsql-admin@postgresql.org
> Hello to all,
> I'm writing because i have noticed a problem with the JDBC driver:
> JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
> "ResultSet.first()". With the postgresql jdbc driver this is not true.
> I suppose that this problem happens because theVector implementation of
> ResultSet.
>
> There is someone that has investigated this problem and can help me ?
>
> Thanks to all.
> Max
>
>
>
--
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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: JDBC Trouble
2001-01-11 14:01 JDBC Trouble Massimo Luise <maxluise@altavista.net>
@ 2001-01-15 02:05 ` Bruce Momjian <pgman@candle.pha.pa.us>
2001-01-15 20:30 ` Re: [INTERFACES] Re: JDBC Trouble Joseph Shraibman <jks@selectacast.net>
1 sibling, 1 reply; 6+ messages in thread
From: Bruce Momjian @ 2001-01-15 02:05 UTC (permalink / raw)
To: Massimo Luise <maxluise@altavista.net>; +Cc: pgsql-interfaces
We have had a number of fixes in the 7.1 beta JDBC driver. Would you test
that and let us know if it is still broken. You can get the JAR file
from the JDBC website at http://www.retep.org.uk.
> Hello to all,
> I'm writing because i have noticed a problem with the JDBC driver:
> JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
> "ResultSet.first()". With the postgresql jdbc driver this is not true.
> I suppose that this problem happens because theVector implementation of
> ResultSet.
>
> There is someone that has investigated this problem and can help me ?
>
> Thanks to all.
> Max
>
>
>
--
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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [INTERFACES] Re: JDBC Trouble
2001-01-11 14:01 JDBC Trouble Massimo Luise <maxluise@altavista.net>
2001-01-15 02:05 ` Re: JDBC Trouble Bruce Momjian <pgman@candle.pha.pa.us>
@ 2001-01-15 20:30 ` Joseph Shraibman <jks@selectacast.net>
0 siblings, 0 replies; 6+ messages in thread
From: Joseph Shraibman @ 2001-01-15 20:30 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Massimo Luise <maxluise@altavista.net>; pgsql-interfaces
It looks like it is fixed in the current sources. He probably had an
old version.
Bruce Momjian wrote:
>
> We have had a number of fixes in the 7.1 beta JDBC driver. Would you test
> that and let us know if it is still broken. You can get the JAR file
> from the JDBC website at http://www.retep.org.uk.
>
> > Hello to all,
> > I'm writing because i have noticed a problem with the JDBC driver:
> > JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
> > "ResultSet.first()". With the postgresql jdbc driver this is not true.
> > I suppose that this problem happens because theVector implementation of
> > ResultSet.
> >
> > There is someone that has investigated this problem and can help me ?
> >
> > Thanks to all.
> > Max
> >
> >
> >
>
> --
> 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
--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio. http://www.targabot.com
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2001-01-15 20:30 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-11-24 21:22 Jdbc Trouble Manish Vig <sk@pobox.com>
2000-11-28 07:52 RE: Jdbc Trouble Peter Mount <petermount@maidstone.gov.uk>
2001-01-11 14:01 JDBC Trouble Massimo Luise <maxluise@altavista.net>
2001-01-15 02:04 ` Re: JDBC Trouble Bruce Momjian <pgman@candle.pha.pa.us>
2001-01-15 02:05 ` Re: JDBC Trouble Bruce Momjian <pgman@candle.pha.pa.us>
2001-01-15 20:30 ` Re: [INTERFACES] Re: JDBC Trouble Joseph Shraibman <jks@selectacast.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox