Does Java Connection.close rollback?

According to the javadoc, you should try to either commit or roll back before calling the close method. The results otherwise are implementation-defined.

Leave a Comment