开发者

Read/Write xBASE (DBASE 3-5 /DBF) files [closed]

开发者 https://www.devze.com 2022-12-20 14:56 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_如何学C

Closed 6 years ago.

Improve this question

Is there any good library for reading / writing DBF files in java or any other language ?


You might give this library a try:

http://dans-dbf-lib.sourceforge.net/

It is open source (GPL) and pure Java.


Its easy to get to via OleDB provider, such as via .Net, Visual Foxpro would obviously be able to read it natively.


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


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.


"any other language"? like in Python, maybe?

in Python I'm using this one: dbfpy. (not to be confused with pydbf.)
very usable indeed.

0

精彩评论

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