Package org.springframework.data.simpledb.query

Examples of org.springframework.data.simpledb.query.SimpleDbQueryRunner


    QueryUtils.validateBindParametersTypes(queryMethod.getParameters());

    Class<?> domainClass = queryMethod.getDomainClazz();
    String query = QueryUtils.bindQueryParameters(queryMethod, parameterValues);

    SimpleDbQueryRunner queryRunner;

    if(queryMethod.isPagedQuery()) {
      final Pageable pageable = getPageableParamValue(parameterValues);

      queryRunner = new SimpleDbQueryRunner(simpledbOperations, domainClass, query, pageable);
    } else {
      queryRunner = new SimpleDbQueryRunner(simpledbOperations, domainClass, query);
    }

    return doExecute(queryMethod, queryRunner);
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.simpledb.query.SimpleDbQueryRunner

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.