Spring Framework ParameterizedSingleColumnRowMapper - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework ParameterizedSingleColumnRowMapper class.

This code example shows how to use the following methods:
import org.apache.commons.lang3.Validate; 
import org.springframework.jdbc.core.simple.ParameterizedSingleColumnRowMapper;
import static annis.sqlgen.SqlConstraints.sqlString; 
public class ListCorpusByNameDaoHelper extends ParameterizedSingleColumnRowMapper<Long>
  public String createSql(List<String> corpusNames)
    Validate.notEmpty(corpusNames, "Need at least one corpus name");
    // turn corpus names into sql strings (enclosed with ') 
    List<String> corpusNamesSqlStrings = new ArrayList<>();
    for (String corpus : corpusNames)
    // build sql query