Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Still Lock (Lock held by) even after Pack/Refresh Thru JDataStore Explorer or thru A Java Program

2 views
Skip to first unread message

Mehmet F. Erten

unread,
Jun 24, 2006, 5:16:53 PM6/24/06
to
A locked row locks jds file and keep the system locked if the lock row's
table is accessed.
How to unlock a lock record?

I inserted rows from a windows java program (every minute another new order)
and saved:
orderHeaderDataSet.saveChanges(orderHeaderDataSet);
orderDetailDataSet.saveChanges(orderDetailDataSet);

while another java program inquires the orders I receive a lock header or
detail row message.
And I can not get rid of it.
The jds file resides in Linux (Dell server).

Primarily I tried to test temp, loga files.
They work without any problem but I could not get a solution yet for this
lock problem.

Steve Shaughnessy

unread,
Jul 9, 2006, 11:12:58 PM7/9/06
to
Can you provide the exact error message? I need to know if it is a lock
timeout or dead lock problem.

The StorageDataSet.saveChanges method should cause commit to be called on
the underlying connection.

Have you tried the trouble shooting tips in chapter 13 of the developer's
guide?

Thanks,

-Steve

"Mehmet F. Erten" <mehmet...@mblsoft.com> wrote in message
news:449dabd0$1...@newsgroups.borland.com...

0 new messages