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
Is there a jre for java 11?
What are the 2 types of java programs?
How to set the permissions to a file in java?
What is boolean query?
How to sort elements in a parallel array in java?
Why stringbuilder is not thread safe?
What is the difference between ArrayList and Vector? which one is better in Java
What are the different data types in java?
What is number data type in java?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is a blocking method in Java?
What are the uses of synchronized keyword?
What occurs when an object is constructed?
Name four container classes.
Is a method a procedure?