JDBC Caution
During chemical operations, JChem sessions are opened, closed and assigned to PostgreSQL sessions. In order to release JChem sessions properly, PostgreSQL statements must be closed when using JDBC.
This can be done either by setting up autocommit in JDBC session or by calling commit or rollback after every statement execution (even query statements).