File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MS access

 
lokesh rajarathnam
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all

I want to know how to get connect with MS Access(jdbc odbc bridge)


please any one give me in simple compilable program in java
 
Rob Spoor
Sheriff
Pie
Posts: 20369
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First you'll need to load the driver. It's already shipped with the JVM, and it's "sun.jdbc.odbc.JdbcOdbcDriver".

Next you need the connection string: "jdbcdbcRIVER={Microsoft Access Driver (*.mdb)};DBQ=" followed by the Access file.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic