From: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Unknown Response Type 1 |
Date: | 2004-08-01 14:19:59 |
Message-ID: | 410CFC0F.1090802@bigfoot.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Oliver Jowett wrote:
| Gaetano Mendola wrote:
|
|> Hi all,
|> today I seen this message in my logs:
|>
|>
|> org.postgresql.util.PSQLException: Unknown Response Type 1
|
|
| This isn't much use without at least a stack trace, and some context
| (what was the app doing?) would be good too.
This is the stack trace:
org.postgresql.util.PSQLException: Unknown Response Type 1
at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:193)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:231)
at net.eutelsat.opensky.sdr.command.db.SpSdrCheckPasswd.execute(SpSdrCheckPasswd.java:97)
The application:
PreparedStatement theStatement;
theStatement = theConnection.prepareStatement( "SELECT foo ( ?,? )" );
theStatement.setString( 1 , aLogin );
theStatement.setString( 2 , aPassword );
ResultSet rs = theStatement.executeQuery(); <---- Line 97
and in the server side:
LOG: statement: SELECT foo ( 'login','password' )
LOG: duration: 0.691 ms
|> I never seen it and I'm wondering about what can generate that
|> exception.
|
|
|> I'm using Postgres 7.4.2 with JDBC pg74.1jdbc2.jar
|
|
| Which build of the driver is this? Can you reproduce the problem using
| the current development driver?
I really don't know which build is and I can not reproduce the problem because
I seen it after 12 month that application is running and actualy I'm not seeing
it again.
Regards
Gaetano Mendola
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBDPwO7UpzwH2SGd4RAn0YAKDvVLQS4TJ3uE/KLgJYzkJnDL2o6wCdG3TY
po/z5rS9A6LGyQECL8998Hc=
=ns1n
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Jowett | 2004-08-01 21:22:12 | Re: PostgreSQL JDBC + Hibernate lose valuable debug info if |
Previous Message | Oliver Jowett | 2004-08-01 12:47:19 | Re: Unknown Response Type 1 |