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
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
Is integer passed by reference in java?
Can inner class have constructor?
Is void a keyword in java?
What is the advantage of functional interface in java 8?
Can you achieve runtime polymorphism by data members?
What is a string what operation can be performed out with the help of a string?
Explain the difference between abstract classes and interfaces in java?
How do you use compareto?
What do you mean by hashing?
Can we catch more than one exception in a single catch block?
What is thread life cycle?
what state does a thread enter when it terminates its processing? : Java thread
Is java util list serializable?