A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
JDBC and Relational Databases
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.
[OCA 8 Book]
I agree. Here's the link:
subject: Looking up tnsnames without parsing tnsnames.ora
Connection to database Exception
Dumb Question Re: tnsnames.ora
Sql Loader and Runtime.exec()
Jsp databse connectivity problem
Changes in tnsnames and restart application server to refresh the new setting??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015