JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable?

This is a discussion on JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable? within the JDBC JAVA forums in Framework and Interface Programming category; Hello I am looking for a JDBC thin driver for MS Access. Currently I found only commercial ones which costs around 300 to 500 USD. Does anybody know some freeware, opensource packages? many thanks regards Mark...

Go Back   Application Development Forum > Framework and Interface Programming > JDBC JAVA

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-15-2008, 06:27 AM
joes
Guest
 
Default JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable?

Hello

I am looking for a JDBC thin driver for MS Access. Currently I found
only commercial ones which costs around 300 to 500 USD. Does anybody
know some freeware, opensource packages?

many thanks regards
Mark
Reply With Quote
  #2  
Old 07-15-2008, 08:29 AM
Lew
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable?

joes wrote:
> I am looking for a JDBC thin driver for MS Access. Currently I found
> only commercial ones which costs around 300 to 500 USD. Does anybody
> know some freeware, opensource packages?


I don't know what you mean by a "thin" driver, but to my knowledge the only
available free JDBC driver for MS Access is the JDBC-ODBC driver, with Access
as an ODBC source.

Then of course there's the fact that Access is a very weak database engine.
Very weak. Why not use Derby (Java DB) or Postgres or any of the host of
actually worthy, free RDBMSes that actually work?

--
Lew
Reply With Quote
  #3  
Old 07-15-2008, 09:13 AM
Silvio Bierman
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable?

joes wrote:
> Hello
>
> I am looking for a JDBC thin driver for MS Access. Currently I found
> only commercial ones which costs around 300 to 500 USD. Does anybody
> know some freeware, opensource packages?
>
> many thanks regards
> Mark


The term "thin driver" was made up by Oracle to distinguish their type
IV driver that implements their network protocol directly in Java from
the type II driver that uses the underlying OCI client software
available on the client machine.

Since Access is not an actual server and thus does not implement aan
actual network-level protocol it is not possible to create a type IV
driver for Access. This leaves two options: a type I driver which wraps
ODBC (as the standard JdbcOdbc driver does) or a type III driver which
comes with a database proxy that does implement a network protocol and
uses a type I driver (or another type III driver if you really want to
make things complicated) to connect to the actual Access back end.

If left with any choice you should ditch Access and use a proper
database. If you want to go all Java you could look at Derby. I
personally prefer using PostgreSQL (which comes with a type IV JDBC
driver) for database applications big and small.

Best regards,

Silvio Bierman
Reply With Quote
  #4  
Old 07-15-2008, 09:42 AM
Steve W. Jackson
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensource available?

In article
<1e90506c-e444-4e76-83f0-9329d4a9903f@j22g2000hsf.googlegroups.com>,
joes <joes@bluewin.ch> wrote:

> Hello
>
> I am looking for a JDBC thin driver for MS Access. Currently I found
> only commercial ones which costs around 300 to 500 USD. Does anybody
> know some freeware, opensource packages?
>
> many thanks regards
> Mark


I'm not sure what you mean by "thin" driver, but you should be able to
get by perfectly well with the one that's built into the JDK. I've been
using it for quite some time with Access, and it doesn't require any DSN
in the Windows ODBC control panel since you can use a relative or
absolute path to the Access file in the jdbc.url.

We use this:

jdbc.drivers=sun.jdbc.odbc.JdbcOdbcDriver
jdbc.url=jdbcdbcriver={Microsoft Access Driver (*.mdb)};DBQ=<path>

jdbc.username and jdbc.password are optional.

In the jdbc.url, you can use a complete path to the MDB file, or you can
use one relative to user.dir.

= Steve =
--
Steve W. Jackson
Montgomery, Alabama
Reply With Quote
  #5  
Old 07-15-2008, 09:48 AM
David Segall
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensource available?

Lew <lew@lewscanon.com> wrote:
>Then of course there's the fact that Access is a very weak database engine.
>Very weak. Why not use Derby (Java DB) or Postgres or any of the host of
>actually worthy, free RDBMSes that actually work?

Access is unsurpassed as a multi-database front end for application
programming. It is not surprising that the underlying database engine
may have been used without considering its weaknesses. Transferring an
Access database to Derby but continuing to use Access as a front end
is not easy and requires using the IBM DB2 ODBC drivers
<http://profectus.com.au/ee_cloudscape.html>. The Postgres ODBC
drivers may make the transition easier but Postgres mandates a
client-server model that may not suit the OP.
Reply With Quote
  #6  
Old 07-15-2008, 12:11 PM
conrad@lewscanon.com
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware,opensource available?

On Jul 15, 9:48*am, David Segall <da...@address.invalid> wrote:
> Lew <l...@lewscanon.com> wrote:
> >Then of course there's the fact that Access is a very weak database engine.
> >Very weak. *Why not use Derby (Java DB) or Postgres or any of the hostof
> >actually worthy, free RDBMSes that actually work?

>
> Access is unsurpassed as a multi-database front end for application
> programming.


I beg to differ. Access is one of the weakest front ends for multi-
or single-database application programming that I've ever
encountered. It's quirky, unstable, proprietary and non-portable. It
requires that one use its own bizarre, non-compliant version of
"SQL". It is not scalable. It doesn't support professional
development practices very well at all. In short, it sucks.

FoxPro and VB are both far better, and IDEs like NetBeans and Eclipse
are superior to Access out of the box.

--
Lew
Reply With Quote
  #7  
Old 07-15-2008, 07:53 PM
Arne Vajhøj
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable?

joes wrote:
> I am looking for a JDBC thin driver for MS Access. Currently I found
> only commercial ones which costs around 300 to 500 USD. Does anybody
> know some freeware, opensource packages?


Never heard of such.

MS really should provide a decent JDBC driver for Jet.

Arne
Reply With Quote
  #8  
Old 07-15-2008, 10:36 PM
AL
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable?

Arne Vajhøj wrote:
> joes wrote:
>> I am looking for a JDBC thin driver for MS Access. Currently I found
>> only commercial ones which costs around 300 to 500 USD. Does anybody
>> know some freeware, opensource packages?

>
> Never heard of such.
>
> MS really should provide a decent JDBC driver for Jet.
>
> Arne



You're not holding your breath for that, are you???
AL
Reply With Quote
  #9  
Old 07-15-2008, 10:57 PM
Arne Vajhøj
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensourceavailable?

AL wrote:
> Arne Vajhøj wrote:
>> joes wrote:
>>> I am looking for a JDBC thin driver for MS Access. Currently I found
>>> only commercial ones which costs around 300 to 500 USD. Does anybody
>>> know some freeware, opensource packages?

>>
>> Never heard of such.
>>
>> MS really should provide a decent JDBC driver for Jet.

>
> You're not holding your breath for that, are you???


Nope.

Arne
Reply With Quote
  #10  
Old 07-16-2008, 05:27 AM
David Segall
Guest
 
Default Re: JDBC thin Drivers for MS Access (no ODBC), any freeware, opensource available?

conrad@lewscanon.com wrote:

>On Jul 15, 9:48*am, David Segall <da...@address.invalid> wrote:
>> Lew <l...@lewscanon.com> wrote:
>> >Then of course there's the fact that Access is a very weak database engine.
>> >Very weak. *Why not use Derby (Java DB) or Postgres or any of the host of
>> >actually worthy, free RDBMSes that actually work?

>>
>> Access is unsurpassed as a multi-database front end for application
>> programming.

>

I worded that very badly partly because I thought that "database front
end" meant a tool used to examine databases like SQL Workbench or IBM
Data Studio. A web search showed me that the term can mean anything at
all. The multi-database part was because Access can be used with any
database that has an ODBC driver. The "application programming" part
was to distinguish it from tools that can be used to administer a
database.
>I beg to differ. Access is one of the weakest front ends for multi-
>or single-database application programming that I've ever
>encountered. It's quirky, unstable, proprietary and non-portable. It
>requires that one use its own bizarre, non-compliant version of
>"SQL". It is not scalable. It doesn't support professional
>development practices very well at all. In short, it sucks.

I agree with you according to your perfectly reasonable interpretation
of what I wrote.
>FoxPro and VB are both far better, and IDEs like NetBeans and Eclipse
>are superior to Access out of the box.

The tools you mention do not provide an easy way of modifying a
database in a simple spreadsheet view, producing ad-hoc reports and
giving non-programmers a reasonable chance of writing a query for
themselves. Hence my response to Lew explaining why Access may have
been chosen originally. Since the OP posted in a Java group we can
assume he knows not to use Access VBA as a programming language.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:57 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.