Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

connect as SYSDBA java

String driverName = "oracle.jdbc.driver.OracleDriver";
Class.forName(driverName).newInstance();
String nameForConnect = "sys as sysdba";
String pass = "password";
String url = "jdbc:oracle:thin:@192.168.0.1:1521:ORCL";
Connection conn = DriverManager.getConnection(url, nameForConnect, pass);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connect #SYSDBA #java
ADD COMMENT
Topic
Name
1+2 =