File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes ODBC names Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "ODBC names" Watch "ODBC names" New topic

ODBC names

Goran Stankovic

Joined: Feb 16, 2010
Posts: 4
Is there a way to read user or system Data Sources. (DSN)
These names are stored in registy HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI but I don't know how to read from it.
I found odbc.ini file in c:\windows\odbc.ini but I'm not realy sure is correct to read from it.
jQuery in Action, 2nd edition
subject: ODBC names