• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Connecting to MsAccess from an Unix machine throught Java

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any one advise me how to connect to an MS access from Unix using Java.

I have the MS acces file in windows platform.

Advance Thanks
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know of any wrapper for the native libraries Access uses available for UNIX, and Access doesn't provide support for standard protocols. Two ideas: write a wrapper application on your Windows machine that is backed by Access and talk to that instead, or use a database that is supported on UNIX and also has linking capabilities with Access (MySQL can do this I think).

The best idea though would be to export your schema from access and recreate it in a different database.
 
King Chin
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Paul.

What do you suggest, if I have the MS access file in my Unix machine(FTP ed ). How could I create a DSN to be used in the default JDBC-ODBC driver provided along with Java JDK.

Advance Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unix-ish OSes generally don't have ODBC, so you'll need to use a different driver than the JDBC/ODBC bridge. Check out http://www.hxtt.com/access.html

Or have a look at http://www.unixodbc.org/, which purports to support ODBC on Unix.
 
King Chin
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Ulf.

The linked you provided is really helping me.

Thanks once again.
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic