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

Reply via email to