openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <>
Subject Re: I am new
Date Thu, 19 Feb 2009 13:48:54 GMT

Henry -

I don't have experience with MS Access DB or Foxpro, but I would think your
first step would be to create a simple java application that is able to
successfully access your database. At that point, take those database
connection properties and put them into your persistence.xml file.

You'll want to checkout Appendix 2 in the OpenJPA user manual where it talks
about supported databases and known issues.


Henry Lu wrote:
> Think you Kenvin for your great help. Could you or someone show me how 
> to configure persistence.xml file and java code to open a foxpro file or 
> MS Access db file?
> -Henry
> Kevin Sutter wrote:
>> Henry,
>> I don't have any experience with Foxpro, but Rick recently posted a very
>> simple example on the WebSphere Persistence blog (
>> It's meant to demonstrate connection pooling, but the example has simple
>> inserts and queries.  You should be able to just modify which Connection
>> properties to use for your Foxpro database and be up and running.
>> Good luck,
>> Kevin
>> On Wed, Feb 18, 2009 at 8:03 AM, Henry Lu <> wrote:
>>> to the OpenJpa. Could anyone send me a simple example of open,select a
>>> table from foxpro file?
>>> -Henry

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message