import java.sql.*;
public class DBUtil{
public static void main(String[] args)throws Exception{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:jsql");
PreparedStatement pst=con.prepareStatement("insert iotn jobs ('dddddd','1','1')");
pst.executeUpdate();
pst.close();
con.close();
}
}
参考资料:注意配制数据库