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

5

5

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

Cushing answered 17/2, 2010 at 0:37 Comment(0)
K
5

You might give this library a try:

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

It is open source (GPL) and pure Java.

Knobby answered 3/1, 2011 at 9:3 Comment(1)
nice one! I'm using it to add to csvjdbc the possibility to regard xBase files as possible input. if you try it out, let me know if it works for you as it does for me.Autocracy
B
1

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

Beltz answered 17/2, 2010 at 2:18 Comment(0)
F
1

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

Fiftyfifty answered 17/2, 2010 at 3:34 Comment(0)
C
1

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.

Claro answered 17/2, 2010 at 3:56 Comment(0)
A
1

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

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

Autocracy answered 21/4, 2011 at 14:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.