使用Java读取FoxPro 2.6数据 [英] Reading a FoxPro 2.6 data with Java

查看:227
本文介绍了使用Java读取FoxPro 2.6数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图读取一个FoxPro 2.6数据库,使用java从旧的基于FoxPro的应用程序检索数据,以更好地格式化输出。我尝试使用 JavaDBF xBaseJ 没有成功。有没有一个常见的方式连接,这将允许我获得这些信息到我的Java应用程序?

I'm trying to read a FoxPro 2.6 database using java to retrieve data from an older FoxPro based application to format the output better. I've tried using JavaDBF and xBaseJ with no success. Is there a common way to connect that would allow me to get this information into my Java application?

推荐答案

因为我从一个Java应用程序连接到FoxPro数据库,但这是我记得要做:

It's been a long time since I connected to a FoxPro database from a Java application but this is what I remember having to do:


  1. 我安装了 FoxPro ODBC驱动程序

  2. 设置为Windows 系统DSN for the FoxPro ODBC driver。

  3. 然后使用 JDBC-ODBC桥连接到FoxPro数据库。

  1. I installed the FoxPro ODBC driver.
  2. Setup as Windows System DSN for the FoxPro ODBC driver.
  3. Then used the JDBC-ODBC bridge to connect to the FoxPro database.

这篇关于使用Java读取FoxPro 2.6数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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