java 数据库连接出现错误
String url="jdbc:odbc:Student";Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection c= DriverManager.getConnection(url);
Rebuild 后出现下列错误
"Stu.java": incompatible types; found : java.sql.Connection, required: com.sun.corba.se.pept.transport.Connection at line 14, column 18
这是和Access 数据库 Studnet 出现的错误