We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
您可以尝试一下这个库:
http://dans-dbf-lib.sourceforge.net/
它是开源的(GPL)和纯Java。
You might give this library a try:
http://dans-dbf-lib.sourceforge.net/
It is open source (GPL) and pure Java.
通过 OleDB 提供程序(例如通过 .Net)可以轻松访问它,Visual Foxpro 显然能够以本机方式读取它。
Its easy to get to via OleDB provider, such as via .Net, Visual Foxpro would obviously be able to read it natively.
快速 google 一下 dbase 和 jdbc,找到了一些名为 StelsDBF 的 xbase jdbc 驱动程序的链接。不能说我已经使用过它或者比快速谷歌了解更多,但这将是我的 Java 答案。
另一种 Java 解决方案是为 dbase 设置 ODBC 数据源,然后使用 JdbcOdbc 桥
A quick google for dbase and jdbc brought back a number of links for an xbase jdbc driver called StelsDBF. Can't say I've used it or know more than a quick google, but that would be my Java answer.
An alternative Java solution would be to set up an ODBC data source for dbase and then use the JdbcOdbc bridge
我使用了 HXTT 的 JDBC 驱动程序。它是 type-4(纯 java)并且运行良好。我使用 JdbcOdbc 桥接执行相同任务的经验非常差,但在新版本中可能有所改变。 HXTT的驱动程序是一个商业产品。
I've used the JDBC driver from HXTT. It is type-4 (pure java) and worked well. My experience with the JdbcOdbc bridge for the same task was quite poor but that may have changed in newer releases. HXTT's driver is a commercial product.
“任何其他语言”?也许就像Python一样?
在Python中,我使用这个:dbfpy。 (不要与 pydbf 混淆。)
确实非常有用。
"any other language"? like in Python, maybe?
in Python I'm using this one: dbfpy. (not to be confused with pydbf.)
very usable indeed.