Type mismatch:

Type mismatch: cannot convert from java.sql.PreparedStatement to com.mysql.jdbc.PreparedStatement

import java.sql.PreparedStatement;

 

java连接数据库的问题:Type mismatch: cannot convert from ResultSet to ResultSet

包导入错了,你要导入的是
import java.sql.ResultSet;
posted @ 2014-04-10 17:30  zhangyongjian  阅读(594)  评论(0编辑  收藏  举报