bug #7788
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@64221 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a084911a78
commit
11763d5dae
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue