0

Can anyone give me some idea about uploading data from excel to access database using java

0

3 Answers 3

2

You'll definitely want to check out Apache POI - Java API To Access Microsoft Format Files. You'll likely find the Excel bindings you need there. For MS Access, you'll want a JDBC Driver which you can find on Sun's website. Then you can just write the glue code.

Sign up to request clarification or add additional context in comments.

Comments

2

Why would you want to use Java for that? You can link Excel and Access data directly:

http://office.microsoft.com/en-us/access/HP010950951033.aspx

1 Comment

i need it as for my project requirement
1

I've used POI before to read and write Excel files. Once you got the data, use JDBC (maybe the JDBC/ODBC bridge) to load it into Access.

2 Comments

Asaph mentioned a JDBC driver for Access. A dedicated driver would definitely be preferable over the JDBC/ODBC bridge.
Yep you should definitely get you hands on a appropriate JDBC driver, I've used the JDBC/ODBC bridge before in combination with an Access database and alot of pretty basic JDBC things are unsupported (if I remember correctly even transactions were not supported).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.