Examples of VoucherThemeRowMapper


Examples of com.jpoweredcart.common.entity.sale.jdbc.VoucherThemeRowMapper

 
  @Override
  public VoucherTheme get(Integer vtId, Class<? extends VoucherTheme> clazz) {
    String sql = "SELECT * FROM " +quoteTable("voucher_theme")+ " WHERE voucher_theme_id = ?";
    return getJdbcOperations().queryForObject(sql, new Object[]{vtId},
        new VoucherThemeRowMapper().setTargetClass(clazz));
  }
View Full Code Here

Examples of com.jpoweredcart.common.entity.sale.jdbc.VoucherThemeRowMapper

        + " vtd ON (vt.voucher_theme_id = vtd.voucher_theme_id) WHERE vtd.language_id = ?";
    //sortedKeys={"vtd.name"}
    QueryBean query = createPaginationQuery(sql, pageParam);
    query.addParameters(languageId);
    List<VoucherTheme> customerGroupList = getJdbcOperations()
        .query(query.getSql(), query.getParameters(), new VoucherThemeRowMapper(){
          @Override
          public VoucherTheme mapRow(ResultSet rs, int rowNum)
              throws SQLException {
            VoucherTheme vt = super.mapRow(rs, rowNum);
            vt.setName(rs.getString("name"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.