[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Cancelling a Query?

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
>