Re: Microsoft Access DB Driver for JDBC



On 10.05.2005 09:05 James Croft wrote:

> Jsnail wrote:
>
>> Does any body know of any freeware ms access drivers for jdbc that
>> allow direct access to an ms access db. The jdbc odbc bridge works but
>> i dont know how to dynamically add odbc data connections in windows
>> (Some code to do this would also help).
>>
>
> I don't know of any classes for manipulating the registry (I'm new to
> Java). But I've created DSNs on the fly with C# by manipulating the
> registry keys under:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
>
> If you can find a Java class for registry manipulation coding this is
> straight forward enough. Create a DSN manually and take a look at the
> changes under that reg key.

You don't need a DSN for accessing Access DBs (or other ODBC connections).
Google for "DSN less connection java"

http://www.google.com/search?hl=en&q=dsn+less+connection+odbc+java&btnG=Google+Search

Thomas
.



Relevant Pages

  • Create a DSN programmatically with network options
    ... I would like to create a brand new system DSN, programmatically, ... Relying on this single registry entry is not enough since it only ... least for SQL Server). ... networking options cannot be set ...
    (microsoft.public.sqlserver.odbc)
  • Re: Oracle Diriver / DSN on UNIX system
    ... I am writting a JDBC code which need a ORACLE DSN to connect to oracle. ... I dont know how to create a DSN on UNIX system. ...
    (comp.databases.oracle.server)
  • Re: creating odbc dsn with c#
    ... add the appropiate registry entries for the DSN. ... Create a new DSN with your desired properties via the control panel ... uses ODBC DSNs to connect to multiple access databases. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Inno User Input Form and ODBC DSN
    ... DSNs are strictly registry entries. ... why bother with a DSN? ... It is an ODBC System DSN. ... > login, Password, and Database. ...
    (microsoft.public.vb.general.discussion)
  • Re: Inno User Input Form and ODBC DSN
    ... DSNs are strictly registry entries. ... why bother with a DSN? ... It is an ODBC System DSN. ... > login, Password, and Database. ...
    (microsoft.public.vb.database)