By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,504 Members | 1,903 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,504 IT Pros & Developers. It's quick & easy.

JAVA OCI Driver in 9.2.0.4

P: n/a
Is this still being supported? I was wanting to use it instead of the thin
driver so that I could pass just the connection aliaes (tnsnames). I am
understanding to use the thin driver one must:
try {

// register the Oracle JDBC drivers
DriverManager.registerDriver(
new oracle.jdbc.OracleDriver()
);

// create a Connection object, and connect to the database
// as store_user using the Oracle JDBC Thin driver
myConnection = DriverManager.getConnection(
"jdbc:oracle:thin:@localhost:1521:ORCL",
"store_user",
"store_password"
);

But I did not see any examples on using the OCI to connect to a database
using the connect aliaes.

Could I have one and where is it documented at?

Thanks
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.