ODBCj
Product Information
Download
Documentation
Purchase
Feedback
ODBCj is a complete ODBC DataSource Manager that you can use directly from your JavaTM application. Here is a short list of the functionality provided to you directly from JavaTM:
A ll this is wrapped up in a few well designed, easy to use classes, encapsulating all the functionality that is necessary to easily manage ODBC DataSource names on your Win32 platform from Java.
T he package consists of a Win32 DLL (ODBCj.dll) which you should put in a directory included in your PATH variable. Do not forget to include the location of ODBCj.jar in your CLASSPATH variable as well.
E ach native function obtains its own ODBC environmental handle and releases it after it is done. The functions for registering and unregistering DataSource names are synchronized. Therefore the code is completely thread safe and can be incorporated in a server side application. If something goes wrong during the execution of a function, an exception is thrown and the program returns safely to the calling Java code.