Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28975

Re: Accessing Access database files

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Accessing Access database files
Date 2014-07-06 17:11 +0000
Organization A noiseless patient Spider
Message-ID <lpbvvc$ivp$2@dont-email.me> (permalink)
References <lounj9$a4g$2@dont-email.me> <6d2hr9pqv6rsreb625hdirnlvvuh3t8cpl@4ax.com> <lpb2ln$j4$2@dont-email.me> <qu3ir9d6nisogj6q4oq67sgjll59hsqts3@4ax.com>

Show all headers | View raw


On Sun, 06 Jul 2014 19:01:18 +1000, Gordon Levi wrote:

> Martin Gregorie <martin@address-in-sig.invalid> wrote:
> 
>>On Sat, 05 Jul 2014 16:28:02 -0700, Roedy Green wrote:
>>
>>> On Tue, 1 Jul 2014 16:28:25 +0000 (UTC), Martin Gregorie
>>> <martin@address-in-sig.invalid> wrote, quoted or indirectly quoted
>>> someone who said :
>>> 
>>>>Is there a JDBC driver or non-JDBC class library that would give a
>>>>Java program read/write access to the tables and schema in a MS Access
>>>>database?
>>> 
>>> Would a solution of this form be feasible?
>>> 
>>> 1. Persuade Access to export its data in some simple form, e.g. CSV 2.
>>> import into some more tractable database like PostGre.
>>
>>Thats not needed: just install the UCanAccess JDBC driver.
> 
> Did it all work as expected? My application needs a major upgrade and it
> would be a good time to throw out the JDBC-ODBC bridge.
>
I haven't got around to trying it yet: sorry. I'm still in the process of 
getting my head round the system I'm taking over as superuser/webmaster. 
Its written in ASP.net running under IIS and using an Access database 
(obviously) which is 'soon' to be replaced by an equivalent level SQL 
Server[1]. As I wouldn't know ASP.net from S/360 BAL and anyway there 
seems to be no schema definition or ERD. Since I don't have anything that 
can run Access code but do have copies of the .mdf files, I'm hoping to 
use UCanAccess plus a client such as SQLeo to extract a schema diagram I 
can make sense of and, as a bonus, use that or write a simple Java app 
that can extract one or two lists that I'd find useful as webmaster.

Hopefully I'll find time over the next week or two to install UCanAccess 
and try some of this stuff out. 

When I do, I'll post my findings here.

However, I believe MS is in the process of dumping Access in favour of 
supporting just SQL Server, which is why we're due to migrate our system 
to SQL Server Compact which seems to be a free version of the DBMS. You 
might want to consider that too. And before you ask, no, I haven't even 
begun to look for stand-alone JDBC drivers for it. 

[1] SQL Server Compact. Literally all I know about it at this point is 
that it stores data in .sdf files just as Access stores data in .mdb 
files, so its no use at all to ask me anything more about it.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-01 16:28 +0000
  Re: Accessing Access database files markspace <markspace@nospam.nospam> - 2014-07-01 09:55 -0700
    Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-01 17:29 +0000
    Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-01 22:49 -0400
    Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-02 10:03 +0000
      Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-02 21:06 -0400
        Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-03 09:48 +0000
          Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-03 16:31 -0400
            Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-03 22:03 +0000
              Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 12:01 -0400
                Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-06 16:42 +0000
                Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 12:45 -0400
                Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 12:47 -0400
  Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-01 22:47 -0400
    Re: Accessing Access database files markspace <markspace@nospam.nospam> - 2014-07-01 20:11 -0700
      Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-02 21:05 -0400
  Re: Accessing Access database files Gordon Levi <gordon@address.invalid> - 2014-07-02 16:57 +1000
    Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-02 10:20 +0000
      Re: Accessing Access database files Robert Klemme <shortcutter@googlemail.com> - 2014-07-02 20:22 +0200
  Re: Accessing Access database files Roedy Green <see_website@mindprod.com.invalid> - 2014-07-02 09:40 -0700
    Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-02 21:28 +0000
      Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-02 21:09 -0400
  Re: Accessing Access database files Jeff Higgins <jeff@invalid.invalid> - 2014-07-02 17:08 -0400
    Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-02 22:39 +0000
  Re: Accessing Access database files Roedy Green <see_website@mindprod.com.invalid> - 2014-07-05 16:28 -0700
    Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-06 08:51 +0000
      Re: Accessing Access database files Gordon Levi <gordon@address.invalid> - 2014-07-06 19:01 +1000
        Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-06 17:11 +0000
          Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 15:17 -0400
            Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-06 19:30 +0000
              Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 19:10 -0400
                Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-07 11:26 +0000
          Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 15:27 -0400
            Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-06 22:37 +0000
              Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 19:06 -0400
                Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-07 11:45 +0000
                Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-07 17:50 -0400
                Re: Accessing Access database files Martin Gregorie <martin@address-in-sig.invalid> - 2014-07-07 22:34 +0000
                Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-07 19:24 -0400
    Re: Accessing Access database files Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 11:55 -0400

csiph-web