默认用户internal/oracle
需要一个jdbc,语句这样写
String DBDriver = "oracle.jdbc.driver.OracleDriver";
String DBLocation = "jdbc
racle:thin
172.16.58.160:1521
rc1";
String DBUser = "test";
String DBPwd = "test";
Class.forName(DBDriver);
Connection conn = DriverManager.getConnection(DBLocation, DBUser, DBPwd);
java.sql.Statement stmt = conn.createStatement();
ResultSet rs = null;