This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Type II Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Type II Driver" Watch "Type II Driver" New topic

Type II Driver

ravichandra Nibbaragandlla

Joined: May 31, 2007
Posts: 3
for type 2 drive (Oracle Driver) i am getting this error, can any one help me

this is the URL which i gave in my application
con = DriverManager.getConnection("jdbcracleci:@host:1521:sid","userid","password");

java.sql.SQLException: ORA-06401: NETCMN: invalid driver designator

at oracle.jdbc.dbaccess.DBError.throwSqlException(
at oracle.jdbc.oci8.OCIDBAccess.check_error(
at oracle.jdbc.oci8.OCIDBAccess.logon(
at oracle.jdbc.driver.OracleConnection.<init>(
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.source.JdbProgram.main(
at com.source.JdbProgram.main(
Exception in thread "main"
I agree. Here's the link:
subject: Type II Driver
It's not a secret anymore!