There is a method called cancel() in interface Statement. But I don't know if it is implemented correctly in JDBC. Maybe you can try it. Regards, William ZHANG
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных