From fe27159c3fe44e2c239a9ae467d1b12e872767d1 Mon Sep 17 00:00:00 2001 From: Diogo Neves Date: Tue, 13 Jul 2010 11:56:06 +0000 Subject: [PATCH] git-svn-id: https://svn.coded.pt/svn/SIPRP@1278 bb69d46d-e84e-40c8-a05a-06db0d633741 --- .../SIPRP/web/src/siprp/pagina/doGetListaTrabalhadores.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/branches/SIPRP/web/src/siprp/pagina/doGetListaTrabalhadores.java b/branches/SIPRP/web/src/siprp/pagina/doGetListaTrabalhadores.java index 42d1871c..721f66f5 100644 --- a/branches/SIPRP/web/src/siprp/pagina/doGetListaTrabalhadores.java +++ b/branches/SIPRP/web/src/siprp/pagina/doGetListaTrabalhadores.java @@ -48,13 +48,13 @@ public class doGetListaTrabalhadores extends siprpServlet{ empresaId = (String)session.getAttribute(super.sessionEmpresaId); estabelecimentoId = (String)session.getAttribute(super.sessionEstabelecimentoId); - System.out.println( "\ndoGetListaTrabalhadores() . " + ); + System.out.println( "\ndoGetListaTrabalhadores() . " ); System.out.println( "\tuserRole : " + userRole + " - " + super.superUserRole ); System.out.println( "\tempresaID : " + empresaID ); System.out.println( "\testabelecimentoID : " + estabelecimentoId ); if ( userRole != null && ( userRole.equals( super.superUserRole ) || userRole.equals( empresaId ) ) ) - { + { Class.forName(super.bdDriver); con = DriverManager.getConnection( bdLocalUrl, bdLocalUsername, bdLocalPassword ); if ( super.verificaEstabelecimento(con, empresaId, estabelecimentoId) ) // estabelecimento pertence 'a empresa ??