File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to connect to Oracle using TNS name
Joined: Feb 15, 2002
Feb 16, 2002 00:02:00
I always use getConnection(dbURL,user,password)
in actual work such as in Oracle environment
we use TNS as dbURL, I just want to know in
how I can use TNS instead of jdbc:thin:......
I agree. Here's the link:
subject: how to connect to Oracle using TNS name
Oracle JDBC driver & dbURL
java.sql.SQLException: ORA-03115: unsupported network datatype or representation
Oracle JDBC unable to get connection
Get Database connection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014