CTED]
> Sent: Wednesday, May 19, 2004 11:38 AM
> To: Aaron Knauf
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Hibernate] Transaction Interface and timeouts
>
>
> On 19 May (11:35), Aaron Knauf wrote:
>
> > Lookup the UserTransaction and call setTransactionTimeout()
>
On 19 May (11:35), Aaron Knauf wrote:
> Lookup the UserTransaction and call setTransactionTimeout() on it before calling
> begin(). In the case of a non-JTA environment, there is no way to set the
> transaction timeout as transactions do not normally timeout, so it becomes
> irrelevant. Of co
t; To: Aaron Knauf
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Hibernate] Transaction Interface and timeouts
>
>
> On 19 May (09:57), Aaron Knauf wrote:
>
> > How would you implement an async operation from an EJB?
> And how would that help if your query takes longer t
On 19 May (09:57), Aaron Knauf wrote:
> How would you implement an async operation from an EJB? And how would that help if
> your query takes longer than 30s? It would still fail - just later.
Message Driven Beans
> Hibernate would implement setting the timeout through the TransactionFactory
; From: Christian Bauer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 19, 2004 9:23 AM
> To: Aaron Knauf
> Subject: Re: [Hibernate] Transaction Interface and timeouts
>
>
> On 19 May (09:06), Aaron Knauf wrote:
>
> > If you want the same piece of code to run both inside an
On 18 May (13:42), Aaron Knauf wrote:
> The one problem with this is that there is no way to generically set transaction
> timeouts. Doing this inside an appserver requires different code to doing it
> outside an appserver and there is no way to do it in configuration at all.
Why would you nee