1. Taro L. Saito
  2. sqlite-jdbc

Pull requests

#25 Merged
Repository
jec_gatekeeper
Branch
stmt-cancel-fix
Repository
xerial
Branch
default

Statement.cancel() does not work as expected.

Author
  1. Joel Carranza
Reviewers
Description

If the Statement is executing within executeQuery() while Statement.cancel() is called, an error is thrown from Statement.cancel(). Cancel method should not require that a result set be open and should not be a synchronized method.

Example program demonstrating the problem:
https://gist.github.com/4339931

  • Learn about pull requests

Comments (0)