• Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking up tnsnames without parsing tnsnames.ora  RSS feed

 
Andy Iyer
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Scott Selikoff
author
Bartender
Posts: 4081
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JDBC? 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!