[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [eclipselink-users] Cancelling a Query?
|
- From: "Tim Hollosy" <hollosyt@xxxxxxxxx>
- Date: Thu, 7 Aug 2008 09:09:05 -0400
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=AACrgkN/vEhC2FWtg93Sn8vztvyUiGgd8njZ8XbrBkY=; b=kWy4LXWfHX83ualVUnDMJ94sDiDbKOsnf1kt4+I9WbMGP+iu3PxOVmueuI3wfVo2Ui YygQC/gFP1A3pA0tKDOCj/OG8hzJFhSdXg9obcelbnhsph2r4rVcsNImAj2OQETSJmN8 eXadjcM9JT4TyJucXMwi+tQfo7ZzjkTEECsTU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KxB4BzQ24FPVXOddKpOpyAJrPRF4m7GwCNYtOnXm5ITihqFk8uPcmT+C+TzfpZbzw6 +LGAd1FfuncN5jXWTyla/oCiXqtEXvBqCps/VbuM21Vf3iRIRl50t5DI/qGegSNQrsxb QbgCLkYYTFGuq+K3jJNiY5caBCHo/kBTIwXdQ=
Thanks James, that'll provide some safety.
./tch
On Thu, Aug 7, 2008 at 9:07 AM, James Sutherland <jamesssss@xxxxxxxxx> wrote:
>
> You can set a timeout on a query using the "eclipselink.jdbc.timeout" query
> hint.
>
> If you didn't set a timeout though, once you have executed it , their is no
> easy way to kill it.
>
>
> Tim Hollosy wrote:
>>
>> Is there any mechanism to cancel a Query in EclipseLink once it's
>> running? My only idea was killing the current EM....but that doesn't
>> sound so elegant :)
>>
>> Thanks,
>> Tim
>>
>
>
> -----
> ---
> http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
> http://www.eclipse.org/eclipselink/
> EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
> TopLink
> Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
> http://wiki.oracle.com/page/TopLink TopLink
> Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
> http://www.nabble.com/EclipseLink-f26430.html EclipseLink
> Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
> --
> View this message in context: http://www.nabble.com/Cancelling-a-Query--tp18859331p18870038.html
> Sent from the EclipseLink - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>