With autocommit, if an application neglects to close the result set
and/or the statement, the closing of the connection will lose any
updates performed via an updatable result set.
If autocommit is false, SQL state 25000 invalid transaction state will
be thrown, however.
The JDBC standard requires that statements be closed when the
connection is closed, cf. JDBC 4, section 9.4.4: "All Statement
objects created from a given Connection object will be closed when the
close method for the object is called." For updatable result sets,
closing the statement would lead to a closing of the result set, and
hence a commit of the updates.
For the network client it works as expected.