Re: Interrupting a fetch that is taking too long
Re: Interrupting a fetch that is taking too long
- Subject: Re: Interrupting a fetch that is taking too long
- From: "John Huss" <email@hidden>
- Date: Tue, 15 May 2007 17:04:43 -0500
Well, I'm completely guessing, but here's an idea.
Wonder has a facility to log queries that run longer than X. Perhaps
you can tap into this to take an action.
Actually terminating a query in progress is database-specific, so
there is no EOF way to do it. I know Frontbase allows you to
terminate connections and such from the GUI (under the Usage tab), but
I don't know if you can do this programmatically. I would suggest
contacting your db vendor and asking.
John
On 5/15/07, Kieran Kelleher <email@hidden> wrote:
Just assume a long response for all queries. if finished in 1 second,
then the page will be back in one second, if not it will take how
ever long it takes.
On May 15, 2007, at 4:34 PM, Ricardo Parada wrote:
> Hi All,
>
> Let's say I have a GUI that lets users build queries to be used for
> a report. Then another process generates a report by applying
> this user defined query. However, if the query takes too long I
> would like to interrupt the query and then flag query for special
> handling.
>
> Has anybody figured out a way to interrupt a fetch in EOF?
>
> Thanks,
> Ricardo J. Parada
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40mac.com
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden