Discussion:
jConnect error: Column '@p0' not found
(too old to reply)
v***@gmail.com
2018-12-17 10:08:18 UTC
Permalink
Hello!

com.sybase.jdbc4.jdbc.SybDriver

from jconn4.jar:

jConnect (TM) for JDBC(TM)/16.0 SP02 PL05 (Build 27308)/P/EBF26574/JDK 1.6.0/jdbcmain/OPT/Wed Sep 21 19:02:16 PDT 2016

gives error:

Column '@p0' not found

when query (executed by java 8 command: rs = stmt.executeQuery();) does not contain any "p0"!

What is the cause of this problem and how it can be resolved?

Thanks!
Casshern
2018-12-17 20:03:22 UTC
Permalink
Post by v***@gmail.com
Hello!
com.sybase.jdbc4.jdbc.SybDriver
jConnect (TM) for JDBC(TM)/16.0 SP02 PL05 (Build 27308)/P/EBF26574/JDK 1.6.0/jdbcmain/OPT/Wed Sep 21 19:02:16 PDT 2016
when query (executed by java 8 command: rs = stmt.executeQuery();) does not contain any "p0"!
What is the cause of this problem and how it can be resolved?
Thanks!
Any chance you are using a prepared statement? if so have you correctly set your values? if you are setting values does the prepared statement include more than one unique query where you are using the values twice?
Alan

Loading...