日期:2014-05-20  浏览次数:20817 次

jdbc连级orcle数据库报错问题 知道的顶一下
Exception in thread "main" java.lang.ClassCastException: oracle.jdbc.driver.OracleResultSetImpl cannot be cast to javax.resource.cci.ResultSet
at One.StudentDao.getInfo(StudentDao.java:17)
at One.StudentDao.main(StudentDao.java:42)

------解决方案--------------------
import java.sql.ResultSet

not
import javax.resource.cci.ResultSet