From 3ffaffc5c23e824cb84270d6f9368747ba09e652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Flores?= Date: Wed, 25 Aug 2010 16:59:32 +0000 Subject: [PATCH] remove jdo dependency remove dead code git-svn-id: https://svn.coded.pt/svn/SIPRP@1430 bb69d46d-e84e-40c8-a05a-06db0d633741 --- trunk/SIPRPSoft/nbproject/project.xml | 23 +++++++++++++++++++ .../siprp/clientes/ClientesDataProvider.java | 19 --------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/trunk/SIPRPSoft/nbproject/project.xml b/trunk/SIPRPSoft/nbproject/project.xml index d0c46af8..c553f648 100644 --- a/trunk/SIPRPSoft/nbproject/project.xml +++ b/trunk/SIPRPSoft/nbproject/project.xml @@ -3,6 +3,9 @@ org.netbeans.modules.ant.freeform + SIPRPSoft + + SIPRPSoft @@ -11,6 +14,18 @@ java src + UTF-8 + + + + java + jnlp + UTF-8 + + + + . + UTF-8 @@ -37,6 +52,10 @@ src + + + jnlp + build.xml @@ -57,6 +76,10 @@ lib/ashwood-2.0.jar:lib/avalon-framework-4.2.0.jar:lib/batik-all-1.7.jar:lib/commons-codec-1.4.jar:lib/commons-collections-3.1.jar:lib/commons-httpclient-3.1.jar:lib/commons-io-1.4.jar:lib/commons-lang-2.1.jar:lib/commons-logging-1.0.4.jar:lib/commons-logging-1.1.1.jar:lib/commons-logging-1.1.jar:lib/dom4j-1.6.1.jar:lib/evologger.jar:lib/evolute.jar:lib/evospellchecker.jar:lib/fop.jar:lib/iText-2.0.7.jar:lib/jai_imageio.jar:lib/jaxen-1.1.1.jar:lib/jazzy-core.jar:lib/jcalendar-1.3.2.jar:lib/jdo.jar:lib/jdom.jar:lib/jpox-1.0.4.jar:lib/jxl-2.6.jar:lib/log4j-1.2.15.jar:lib/log4j-1.2.8.jar:lib/mail.jar:lib/nimrodlf.jar:lib/nlog4j-1.2.25.jar:lib/org.springframework.beans-3.0.0.jar:lib/org.springframework.context-3.0.0.jar:lib/org.springframework.core-3.0.0.jar:lib/PDFRenderer.jar:lib/postgresql-8.4-701.jdbc4.jar:lib/serializer-2.7.0.jar:lib/shst.jar:lib/smtp.jar:lib/spring-ws-core-1.5.9.jar:lib/spring-ws-core-tiger-1.5.9.jar:lib/spring-ws-support-1.5.9.jar:lib/spring-xml-1.5.9.jar:lib/swingx.jar:lib/TableLayout.jar:lib/truelicense.jar:lib/xalan-2.7.0.jar:lib/xercesImpl-2.7.1.jar:lib/xmlgraphics-commons-1.3.1.jar:lib/cursos.jar 1.5 + + jnlp + 1.5 + diff --git a/trunk/SIPRPSoft/src/siprp/clientes/ClientesDataProvider.java b/trunk/SIPRPSoft/src/siprp/clientes/ClientesDataProvider.java index da178858..579d3d3e 100644 --- a/trunk/SIPRPSoft/src/siprp/clientes/ClientesDataProvider.java +++ b/trunk/SIPRPSoft/src/siprp/clientes/ClientesDataProvider.java @@ -184,25 +184,6 @@ public class ClientesDataProvider extends MetaProvider return elementos; } - public Integer getEtiquetaID() - throws Exception - { - if( etiquetaID == null ) - { - Select select = - new Select( new String[]{ "etiquetas" }, - new String[]{ "max(id)" }, - null ); - Virtual2DArray array = executer.executeQuery( select ); - if( array.columnLength() == 0 || array.get( 0, 0 ) == null ) - { - return null; - } - etiquetaID = ( Integer ) array.get( 0, 0 ); - } - return etiquetaID; - } - public Integer getEmpresaIDByTrabalhadorID( Integer trabalhadorID ) throws Exception {