Normally whats the reason to get java.lang.ClassCastException ..? I get the following error in my application java.lang.classCastException:org.sqlite.prepstmt cannot be cast to prepared statment
Asked
Active
Viewed 188 times
-2
-
1That is not an accurate rendition of the exception. Please be accurate. – user207421 Apr 11 '15 at 12:01
1 Answers
1
you are casting one type of prepared statement to other. maybe you are using sqlite and casting to prepared statement of mysql? or from another library? take a look at your imports

Dima
- 8,586
- 4
- 28
- 57