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 PROTECTED]> 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 protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists% > 40mac.com > > This email sent to [EMAIL PROTECTED] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to [EMAIL PROTECTED]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
