leonardo 2016-12-27 18:40:55 +00:00
parent a084911a78
commit 11763d5dae
1 changed files with 8 additions and 0 deletions

View File

@ -1068,6 +1068,14 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
Messagebox.OK, Messagebox.ERROR);
} finally {
try {
if (myConn != null && !myConn.isClosed()) {
myConn.close();
}
} catch (SQLException e) {
log.error("error fechar conexão", e);
throw new RuntimeException(e);
}
}
}