67,512
社区成员
发帖
与我相关
我的任务
分享
import java.sql.*;
public class TestJDBC {
public static void main(String[] args) throws Exception{
// TODO Auto-generated method stub
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@169.254.9.193:1521:orcl", "scott", "tiger");
}
}