Example usage for org.springframework.jdbc.core.namedparam NamedParameterJdbcTemplate subclass-usage

List of usage examples for org.springframework.jdbc.core.namedparam NamedParameterJdbcTemplate subclass-usage

Introduction

In this page you can find the example usage for org.springframework.jdbc.core.namedparam NamedParameterJdbcTemplate subclass-usage.

Usage

From source file com.github.ferstl.spring.jdbc.oracle.OracleNamedParameterJdbcTemplate.java

/**
 * A subclass of Spring's {@link NamedParameterJdbcTemplate} the uses
 * Oracle named parameter support to avoid building a new query.
 * <h3>Limitations</h3>
 * <ul>
 * <li>

From source file anyframe.core.query.impl.jdbc.PagingNamedParamJdbcTemplate.java

/**
 * @author Soyon Lim
 */
public class PagingNamedParamJdbcTemplate extends NamedParameterJdbcTemplate {
    private PagingJdbcTemplate pagingJdbcTemplate = null;

From source file org.voltdb.example.springjdbc.ContestantDao.java

public class ContestantDao extends NamedParameterJdbcTemplate {
    private static final String selectSql = "SELECT firstname AS firstName, lastname AS lastName, code AS code FROM CONTESTANTS WHERE code = :code";
    private static final String getAllSql = "SELECT firstname AS firstName, lastname AS lastName, code AS code FROM CONTESTANTS";
    private static final String deleteByCode = "DELETE FROM CONTESTANTS WHERE code = :code";
    private static final String deleteAll = "DELETE FROM CONTESTANTS";
    private static final String insertContestant = "INSERT INTO CONTESTANTS ( FIRSTNAME,LASTNAME,CODE) VALUES ( :firstName, :lastName, :code )";