I am writing with regards to the below exception I get when I try to execute a simple prepared statement.
The Exception:
java.sql.SQLException: Exception: com.sqlmagic.tinysql.tinySQLPreparedStatement cannot be cast to com.sqlmagic.tinysql.tinySQLStatement
at com.sqlmagic.tinysql.tinySQLConnection.executetinySQL(tinySQLConnection.java:387)
at com.sqlmagic.tinysql.tinySQLPreparedStatement.execute(tinySQLPreparedStatement.java:238)
The Statement:
SELECT * FROM table WHERE number=? AND poz=?
Any help appreciated,
BORO