This method of the Connection class saves any changes and ends the current transaction. It may also start a new transaction.
public void commitTrans();