jdbc连oracle的问题??
wchar 2003-10-21 09:22:59 import java.sql.*;
class Employee
{
public static void main (String args [])
throws SQLException
{
try
{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn =DriverManager.getConnection
("jdbc:oracle:thin:@192.168.0.99:1521:hldb","system","manager");
} //hldb是sid
catch(Exception e) {System.out.print(e);}
}
}
java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection