JDBC finish