spiderman19
asked on
Connectivity to Oracle
Hi all, i have expereicen in conecting to IBM Db2, but not oracle,
Can anyone share me the way to connect to oraacle databse.
TQ.
try {
Class.forName("what is the name").newInstance();
Connection conn = DriverManager.getConnectio n("what is the path");
}
thank you
Can anyone share me the way to connect to oraacle databse.
TQ.
try {
Class.forName("what is the name").newInstance();
Connection conn = DriverManager.getConnectio
}
thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thanks mate :)
>>Class.forName("what is the name").newInstance();
oracle.jdbc.driver.OracleD
>>Connection conn = DriverManager.getConnectio
jdbc:oracle:thin:@(descrip
But make sure you have OracleDriver include to classpath.