File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Looking up tnsnames without parsing tnsnames.ora
Joined: May 27, 2009
Mar 09, 2011 13:15:18
Is there a way where i can get a list of all my tnsnames looking up from the tnsnames.ora without actually parsing the file?
Joined: Oct 23, 2005
Mar 10, 2011 10:28:34
? No, since it's database specific. There may be some specific methods in the Oracle JDBC Driver available by casting the objects to Oracle-specific classes instead of the standard JDBC interface, but I doubt it.
Down Home Country Coding with Scott Selikoff
I agree. Here's the link:
subject: Looking up tnsnames without parsing tnsnames.ora
Dumb Question Re: tnsnames.ora
Changes in tnsnames and restart application server to refresh the new setting??
Jsp databse connectivity problem
Sql Loader and Runtime.exec()
Connection to database Exception
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014