We are using the Spring-iBatis framework for our db access. I have a query which is of the form, select <columns> from <tablename> where <column> = #value#
This #value# is passed in as a String. Now on invoking this query using a Spring DAO, I get the following exception: java.lang.UnsatisfiedLinkError : SQLBindChar at COM.ibm.db2.jdbc.app.DB2PreparedStatement.execute2(Unknown Source) at COM.ibm.db2.jdbc.app.DB2PreparedStatement.execute(Unknown Source)
We are using the type-2 db2java driver.
All other queries are executing fine. But this is the only one that has #value# associated with it.
Kindly provide inputs if any.
Govind K Dhume
posted 13 years ago
This was resolved. Actually I had two versions of DbConnect running on my machine and there was a driver conflict. One version was removed and this problem disappeared.