Package org.jdbf.engine.sql

Examples of org.jdbf.engine.sql.SqlInterface


                        CacheManager cacheMan){
    className = this.getClass().getName();
    logger = Logger.getLogger(className);
    this.repFactory = repFactory;
    //default is created a generic sqlInterface
    sqlInterface = new SqlInterface();
    cacheManager = cacheMan;
    }
View Full Code Here


 
    int row = 0;
 
    PreparedStatement pstmt = null;
 
    SqlInterface sqlInterface = new SqlInterface();
 
    StringBuffer condition = new StringBuffer(32);
 
    condition.append(hiloMap.getTableColumn()).append("=?");
 
    condition.append(" " + SqlInterface.AND  + hiloMap.getKeyColumn() + "=?");
 
 
 
    String setNewValue = hiloMap.getNextColumn() + "=" + hiloMap.getLow().toString();
 
 
 
    //Updates value
 
    String sql = sqlInterface.getUpdateStatement(hiloMap.getTable(),setNewValue,
 
                condition.toString());
 
   
 
View Full Code Here

TOP

Related Classes of org.jdbf.engine.sql.SqlInterface

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.