Hello,
I'm using JDBC PostgreSQL with 6.4.2 database.
I'm using the new code style (conn.setAutoCommit(false)).
When the transaction is waiting for another transaction to terminate, is
there a way to set a timeout period , let's say a maximum of 30 seconds
?
If the lock still persist after 30 seconds the statement.upDate() to
fail and to throw a SQLException?
Of course, without the classical watchdog thread object.
Thanks in advance,
(BTW : I tried the same thing on 6.5 beta 1 and my both transactions
have committed without problem. Nice work that MVCC. I'm watching daily
the development waiting for the big day of 6.5 final)
Best regards,
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA