This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
It's not a secret anymore!