From: | bluejacksong <bluejacksong(at)sina(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | bothering error |
Date: | 2002-07-22 14:01:24 |
Message-ID: | 20020722140124.14653.qmail@sina.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
I download a small java program which use jdbc to connect to postgresql.But I meet a error like this:
java.lang.NoSuchMethodError: java/sql/Statement.getResultSetConcurrency()I
at org.postgresql.jdbc2.Connection.getResultSet(Connection.java:216)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:121)
at org.postgresql.Connection.ExecSQL(Connection.java:398)
at org.postgresql.jdbc2.Statement.execute(Statement.java:130)
at HelloPostgresql.<init>(HelloPostgresql.java:30)
at HelloPostgresql.main(HelloPostgresql.java:92)
The jdk I use is j2sdk1.4.0_01
The jdbc driver I use is pgjdbc2.jar which I downloaded from http://jdbc.postgresql.org/download.html.
What is the problem? give me some suggestion
thanks
jack
______________________________________
===================================================================
(http://mail.sina.com.cn)
(http://classad.sina.com.cn/2shou/)
From | Date | Subject | |
---|---|---|---|
Next Message | Nookala Satish Kumar | 2002-07-22 14:52:06 | Re: PostgreSQL and Tomcat? |
Previous Message | Dave Cramer | 2002-07-22 13:20:15 | Re: Bug found in "jdbc7.0-1.2.jar" |