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 basic of java?
What do you mean by an object in java?
Can private members of a base class are inheritable justify?
what is the difference between future and callable interface in java?
What is data type in java?
What is the difference between synchronized and synchronized block?
Why hashset is used in java?
What are singleton services?
What is a treeset class?
Explain numeric promotion?
Do we have pointers in java?
Which collection is best for sorting in java?
Can a constructor call another constructor?
what is collatration?
What is object-oriented paradigm?