Jackcess是否可以与MS Access 2013一起使用? [英] Will Jackcess work with MS Access 2013?

查看:92
本文介绍了Jackcess是否可以与MS Access 2013一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个Java应用程序,该应用程序将为用户创建一些数据,并且需要生成一个Access文件,然后用户可以下载该文件并通过MS Access打开.用户具有MS Access2013.

I am writing a Java application that creates some data for the user and needs to generate an Access file that the user can then download and open with MS Access. The user has MS Access 2013.

我在网上找到的唯一Java库是Jackcess.但是,在其文档和API中,它们仅适用于V2010.

The only Java library I found online is Jackcess. However, in their documentation and in their API as well they only go up to V2010.

Access 2013将打开用文件格式V2010生成的文件吗?根据到目前为止的研究-否.

Will the file generated with File Format V2010 be opened by Access 2013? Based on research so far - no.

是否存在其他允许Java程序创建Access 2013文件的解决方案?请分享! Java + Access 2013的所有帮助均用于连接到Access 2013数据库.我不需要连接,只需要创建一个用户要导入的文件即可.

Are there any other solutions that will allow a Java program to create an Access 2013 file? Please, share! All help with Java + Access 2013 out there is for connecting to an Access 2013 database. I don't need to connect, I just need to create a file that the user will import.

推荐答案

是的,可以在Access 2013中打开由Jackcess创建的Access_2010格式文件(FileFormat.V2010).Jackcess还可以处理Access创建的.accdb文件2013.我完成了这两项任务,它们对我来说很好用.

Yes, an Access_2010-format file (FileFormat.V2010) created by Jackcess can be opened in Access 2013. Jackcess can also manipulate an .accdb file created by Access 2013. I have done both of those tasks and they worked fine for me.

如果您尚未这样做,则可以考虑使用 UCanAccess .它使用Jackcess来实际读写Access数据库文件,但是UCanAccess是(纯Java)JDBC驱动程序,因此您可以使用SQL而不是直接写入Jackcess API.有关更多信息,请参见

If you haven't done so already you might consider using UCanAccess. It uses Jackcess to do the actual reading and writing of the Access database file, but UCanAccess is a (pure Java) JDBC driver so you can use SQL instead of having to write directly to the Jackcess API. For more information, see

在不使用ODBC的情况下从Java操作Access数据库

这篇关于Jackcess是否可以与MS Access 2013一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆