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 are the two parts of a conditional statement?
Is java still relevant?
Can you explain the private protected field modifier?
What is the difference between size and length in java?
What is are packages?
What is main in java?
Why is singleton not thread safe?
Explain the importance of join() method in thread class?
What do you understand by abstract classes?
What is the difference between final, finally and finalize()?
What is string variable?
Where is jre installed?
why an outer class cannot be declared as private?
Why static functions are used?
Differentiate jar and war files?