Hi all,
I am facing an issue insert records using HXTT DBF into a VFP database via Java + EJB + JBOSS.
The insert command works fine locally on the test system. On the production system the insert has to be done via DBFServer and here each of the new record gets marked for deletion after a few seconds. So if using "set deleted off" in VFP I see all the inserted records, but the legacy applicatin is working with "set deleted on".
Any idea why these records get marked for deletion only via DBFServer? Do I miss any e.g. commit step?
Thank you for any help,
Sven
|
>On the production system the insert has to be done via DBFServer and here each of the new record gets marked for deletion after a few seconds.
You should be using transaction mode, and all inserted records will be rollback when your connection object close if you doesn't call "commit;" sql or connection.commit(); .
|