Package it.pdor.commonLayer.jdbc

Examples of it.pdor.commonLayer.jdbc.PdorCallableStatementCreator


    Double capitaleResiduo = 0.0;

    final StringBuffer call = new StringBuffer("{? = call GET_CAPITALERES(?, ?)}");
    Object[] inputparams = { new Long(numeroPam), dataCalcolo };

    PdorCallableStatementCreator callStmCreator = new PdorCallableStatementCreator(call.toString(),
        inputparams, Types.DOUBLE);
    PdorFunctionCallableStatementCallback funcStmt = new PdorFunctionCallableStatementCallback();

    Object result = getJdbcTemplate().execute(callStmCreator, funcStmt);
   
View Full Code Here


    String flag = "";

    final StringBuffer call = new StringBuffer("{? = call F_FLAGPENALE(?, ?, ?)}");
    Object[] inputparams = { new Long(numeroMutuo), finalita, new Long(numeroDatiFin) };

    PdorCallableStatementCreator callStmCreator = new PdorCallableStatementCreator(call.toString(),
        inputparams, Types.CHAR);
    PdorFunctionCallableStatementCallback funcStmt = new PdorFunctionCallableStatementCallback();

    Object result = getJdbcTemplate().execute(callStmCreator, funcStmt);
   
View Full Code Here

 
  public Double getCalcoloPenaleEstinzioneBersani(long numeroMutuo, Date dataCalcolo) {
    Double penaleEstinzioneBersani = 0.0;
    final StringBuffer call = new StringBuffer("{? = call CALC_PENALEEST_BERSANI(?, ?)}");
    Object[] inputparams = { new Long(numeroMutuo), dataCalcolo };
    PdorCallableStatementCreator callStmCreator = new PdorCallableStatementCreator(call.toString(), inputparams, Types.REAL);
    PdorFunctionCallableStatementCallback funcStmt = new PdorFunctionCallableStatementCallback();
    Object result = getJdbcTemplate().execute(callStmCreator, funcStmt);
    if( result == null)
      return null;
    if (result instanceof Float) {
View Full Code Here

TOP

Related Classes of it.pdor.commonLayer.jdbc.PdorCallableStatementCreator

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.