*
The moose likes JDBC and the fly likes how to connect to Oracle using TNS name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to connect to Oracle using TNS name" Watch "how to connect to Oracle using TNS name" New topic
Author

how to connect to Oracle using TNS name

Sam Shen
Greenhorn

Joined: Feb 15, 2002
Posts: 8
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 JDBC how I can use TNS instead of jdbc:thin:......
pls help
Thanks ,
Sam Shen
Feb 15,2002
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to connect to Oracle using TNS name
 
Similar Threads
java.sql.SQLException: ORA-03115: unsupported network datatype or representation
Oracle JDBC unable to get connection
Get Database connection
XDB realm
Oracle JDBC driver & dbURL