報錯:Type mismatch: cannot convert from java.sql.Connection to com.mysql.jdbc.Connection

con=DriverManager.getConnection(uri); sql=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);java 這兩句報錯mysql Type mismatch: cannot convert from java.sql.Connection to com.
相關文章
相關標籤/搜索