Package com.founder.fix.fixflow.core.db.pagination

Examples of com.founder.fix.fixflow.core.db.pagination.Pagination


  protected void initMySqlDbConfig() {

    DataBase dataBase = this.selectedDatabase;
    // OraclePaginationImpl
    Pagination pagination = (Pagination) ReflectUtil.instantiate(dataBase.getPaginationImpl());
    DbConfig dbConfig = new DbConfig();
    dbConfig.setDbType(DbType.ORACLE);
    dbConfig.setPagination(pagination);
    dbConfig.setKeyword("?");
View Full Code Here


  }

  protected void initDB2DbConfig() {
    DataBase dataBase = this.selectedDatabase;
    // OraclePaginationImpl
    Pagination pagination = (Pagination) ReflectUtil.instantiate(dataBase.getPaginationImpl());
    DbConfig dbConfig = new DbConfig();
    dbConfig.setDbType(DbType.ORACLE);
    dbConfig.setPagination(pagination);
    dbConfig.setKeyword("?");
View Full Code Here

  }

  protected void initOracleDbConfig() {
    DataBase dataBase = this.selectedDatabase;
    // OraclePaginationImpl
    Pagination pagination = (Pagination) ReflectUtil.instantiate(dataBase.getPaginationImpl());
    DbConfig dbConfig = new DbConfig();
    dbConfig.setDbType(DbType.ORACLE);
    dbConfig.setPagination(pagination);
    dbConfig.setKeyword("?");
View Full Code Here

  /**
   * 反射工具类测试
   */
  public void testReflectUtil()
  {
    Pagination pagination=(Pagination)ReflectUtil.instantiate("com.founder.fix.fixflow.expand.database.pagination.OraclePaginationImpl");
    assertNotNull(pagination);
  }
View Full Code Here

  }
 
  public void testOraclePagination()
  {
    SqlCommand sqlCommand=new SqlCommand(processEngineConfiguration.createConnection());
    Pagination pagination=processEngineConfiguration.getDbConfig().getPagination();
    String runSqlString="SELECT * FROM AU_USERINFO ORDER BY SSOID";
    String paginationSqlString= pagination.getPaginationSql(runSqlString, 3, 5, "*", null);
    List<Map<String, Object>> dataList=sqlCommand.queryForList(paginationSqlString);
    assertNotNull(dataList);
    return;
   
   
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.db.pagination.Pagination

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.