aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy 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