| From: | # sriram # <sriram(at)imsc(dot)ernet(dot)in> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | strange error |
| Date: | 2002-02-21 06:42:44 |
| Message-ID: | Pine.SOL.3.95.1020221120938.19395A-100000@imsc5 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Hi all....
I am running a small jdbc program and i get an error like this...
[sriram(at)nmlinux2 sriram]$ java jdbc
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
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 org.postgresql.jdbc2.Statement.executeQuery(Statement.java:54)
at jdbc.main(jdbc.java:18)
Aborted
i am able to connect to the database with ease.
my jdbc:18 is the line PreparedStatement ps=con.prepareStatement("SELECT.....");
what could be the error or where should i ammend my code
thanks
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kovács Péter | 2002-02-21 08:36:08 | Re: alternative to postgresql |
| Previous Message | zhousj | 2002-02-21 02:34:35 | SQLException::GetErrorMessage() return so much message!!! |