db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepa Remesh" <drem...@gmail.com>
Subject Re: XAResource setTransactionTimeout()
Date Wed, 29 Nov 2006 16:51:29 GMT
Hi Prashant,

Transaction timeout is not supported by Derby. setTransactionTimeout
method always returns false which means setting a transaction timeout
is not supported.

I do not know if there is any other way to achieve the equivalent in Derby.

Thanks,
Deepa

On 11/28/06, Prashant Bhagat <Prashant.Bhagat@sun.com> wrote:
>
>
>
>
> Is the setTransactionTimeout() method of XAResource supported by the class
> org.apache.derby.client.net.NetXAResource?
>
>
>
> I wrote a sample code to set the timeout to 60 seconds, but the
> getTransactionTimeout() returns 0. Is there any other way to specify a
> transaction timeout?
>
>
>
> Earlier I this asked this question on the wrong list -
> derby-dev@db.apache.org
>
>
>
> TIA
>
> Prashant
>
>

Mime
View raw message