Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get database server name given a database name in Java

Status
Not open for further replies.

lianliu

Programmer
Jul 23, 2003
1
US
I know that in C, there is a function that does a open database directory scan, and it's called "sqledosd". I can get the database server name by passing in the database name. I am wondering if there's a similar method or class available in Java. We don't want to do a system call like "db2 list database directory" nor do we want to use JNI. So, please help us if you know of any other ways to get this information in Java. Your help is greatly appreciate it!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top