File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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