openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance J. Andersen" <Lance.Ander...@Sun.COM>
Subject Re: Cannot get QueryTimeout to work
Date Fri, 23 Mar 2007 00:28:17 GMT
Not sure if you use Statement.cancel() at all but this is an optional 
method  for JDBC and requires a SQLFeatureNotSupportedException to be 
thrown if it is not supported (JDBC 4)

Patrick Linskey wrote:
> Also, you may be interested in the OpenJPAEntityManager.cancelAll()
> method call, which uses different JDBC pathways to kill running queries.
>
> -Patrick
>
>   

Mime
View raw message