Package org.jallinone.documents.java

Examples of org.jallinone.documents.java.DocPropertyVO


      pkAttributes.add("companyCodeSys01DOC20");
      pkAttributes.add("progressiveDoc14DOC20");
      pkAttributes.add("progressiveSys10DOC20");

      Response res = null;
      DocPropertyVO oldVO = null;
      DocPropertyVO newVO = null;

      pstmt = conn.prepareStatement(
          "select PROGRESSIVE_DOC14 from DOC20_DOC_PROPERTIES where "+
          "COMPANY_CODE_SYS01=? and PROGRESSIVE_DOC14=? and PROGRESSIVE_SYS10=?"
      );
      ResultSet rset = null;

      for(int i=0;i<oldVOs.size();i++) {
        oldVO = (DocPropertyVO)oldVOs.get(i);
        newVO = (DocPropertyVO)newVOs.get(i);

        // check if the record already exists: if it does not exist, then insert it...
        pstmt.setString(1,newVO.getCompanyCodeSys01DOC20());
        pstmt.setBigDecimal(2,newVO.getProgressiveDoc14DOC20());
        pstmt.setBigDecimal(3,newVO.getProgressiveSys10DOC20());
        rset = pstmt.executeQuery();
        if(rset.next()) {
          // the record exixts: it will be updated...
          res = org.jallinone.commons.server.QueryUtilExtension.updateTable(
              conn,
View Full Code Here

TOP

Related Classes of org.jallinone.documents.java.DocPropertyVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.