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