D
Door2000
Unregistered / Unconfirmed
GUEST, unregistred user!
Connection conn =
DriverManager.getConnection ("jdbcracle:thin192。168。0。1:1521rasrv","user", "123")
走到这一步后要很长时间,并且
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("SELECT * from table1");
到这里就出错
如果把SQL换成这个就能通过,难以理解啊
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select 1 from dual");
DriverManager.getConnection ("jdbcracle:thin192。168。0。1:1521rasrv","user", "123")
走到这一步后要很长时间,并且
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("SELECT * from table1");
到这里就出错
如果把SQL换成这个就能通过,难以理解啊
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select 1 from dual");