开发者

connect Ms Access to java

I extracted data from excel usin开发者_如何学编程g poi api. Now I want to store the data in access please clarify


To the point, you just want to "convert" Excel to MSAccess using Java code? Here are the steps:

1) Extract data from Excel into Java objects (List, String, Number, Javabean, etc). 2) Insert the data in flavor of those Java objects into MSAccess.

That's basically all. For 1) you can use under each the Apache POI as you already found out. For 2) you can use the JDBC. I think your problem is more that you don't understand what JDBC is and how to work with it. In that case you may find the Sun's JDBC tutorial useful. Good luck.


You need something like JetProxy -- a JDBC driver interfacing to Jet (the internal name of Microsoft Access's own quasi-relational sort-of-SQL DB engine). There are other products much in the same vein, but I have no personal experience to help suggest which product is best for your purposes -- just try a few!-)


You can either use the commercial JDBC drivers by HXTT or the JDBC-ODBC bridge by Sun

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜