This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Using sqlnet.ora Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Using sqlnet.ora" Watch "Using sqlnet.ora" New topic

Using sqlnet.ora

Ian Morris

Joined: May 23, 2001
Posts: 7
I am developing a Java Servlet which needs to connect to an Oracle database. I have installed Oracle's and can connect to the database with no problems using the following connect string:
dbConn = DriverManager.getConnection("jdbc racle:thin:@fully_qualified_domain_name ort:db_Name","userName","password");
However, I would like to use the sqlnet.ora file on the local server. I have searched on JavaRanch and on Oracle (techNet) but can find no examples or information. I assumed this would be a common way to connect to an Oracle database, has anyone got an example they could post. SQL net (8.1.6) is installed on the server.
I agree. Here's the link:
subject: Using sqlnet.ora
It's not a secret anymore!