steps to connect with Oracle Databse using TYPE-2 Jdbc driver.
Answer Posted / shankar
we can connect with oracle DB using Type-2(partial native
and partial Java)
use driver :
oracle.jdbc.driver.OracleDriver
use URL:
jdbc:oracle:ocis:@hostname:port no:global source name
Dependig on port name and localhost URL will look like
(jdbc:oracle:ocis:@localhost:1521:XE)
XE is global source name Oracle 10g
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of tostring() method in java?
How to change the priority of thread or how to set the priority of thread?
Can we return null in java?
What is a constructor, constructor overloading in java?
What is the difference between a window and a frame in java programming?
Can we sort array in java?
What is == mean?
Can we use catch statement for checked exceptions?
Write a program to find the whether a number is an Armstrong number or not?
Does java arraylist maintain insertion order?
What is return data type?
Does chrome use java?
What are the features of java?
What is object english?
Why collection is called framework in java?