Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes java.lang.IncompatibleClassChangeError: Found class com.mysql.jdbc.Statement, but interface was expe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.lang.IncompatibleClassChangeError: Found class com.mysql.jdbc.Statement, but interface was expe" Watch "java.lang.IncompatibleClassChangeError: Found class com.mysql.jdbc.Statement, but interface was expe" New topic
Author

java.lang.IncompatibleClassChangeError: Found class com.mysql.jdbc.Statement, but interface was expe

Nilesh Salpe
Greenhorn

Joined: Dec 24, 2010
Posts: 3
FYI - this error comes when you change mysql jar to new version .
I think there are major changes in statement class in new version of mysql jar .

for example it does not consider the clases

select * from abctable where isCheck = true;

here we need it like

select * from abctable where isCheck = "true";

This may cause in migration from mysql 3.2.0 to mysql 5.0.8

Please share your experiences on this forum
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.IncompatibleClassChangeError: Found class com.mysql.jdbc.Statement, but interface was expe
 
Similar Threads
Removing Eclipse Ganymede
please help How to Write Sub Query in Hibernate
NetBeans IDE 7.0.1 - How to deploy self created java bean jar in NetBeans
NetBeans IDE 7.0.1 - Java Bean Deployment (bdk1.1 and jdk1.6 dont work together, why???)
Where to write Validation