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
JDBC and Relational Databases
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
java.sql.SQLException: ORA-03115: unsupported network datatype or representation
Oracle JDBC driver & dbURL
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-2015