Menu

#13 tinySQLPreparedStatement cannot be cast to tinySQLStatemet

open
nobody
None
5
2012-12-17
2012-12-17
Boro
No

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

Discussion


Log in to post a comment.