Example usage for org.springframework.jdbc.core RowMapper interface-usage

List of usage examples for org.springframework.jdbc.core RowMapper interface-usage

Introduction

In this page you can find the example usage for org.springframework.jdbc.core RowMapper interface-usage.

Usage

From source file ca.nrc.cadc.vos.server.NodePropertyMapper.java

/**
 * Class to map a result set into a NodeProperty object.
 */
public class NodePropertyMapper implements RowMapper {

    public static boolean isNodeTableProperty(NodeProperty nodeProperty) {

From source file org.metis.sql.SqlStmnt.java

/**
 * Object that encapsulates or represents a SQL statement. Also serves as the
 * main integration point with Spring JDBC. This object is created by either the
 * WdsResourceBean or PusherBean during its lifecycle's initialization phase.
 * 
 * There are two types of SqlStmnts, those used by RDBs and those used by PDBs.

From source file escuela.AlumnoDaoImpl.java

class AlumnoMapper implements RowMapper<Alumno> {

    public Alumno mapRow(ResultSet rs, int rowNum) throws SQLException {
        Alumno alumno = new Alumno();
        alumno.setMatricula(rs.getString("MATRICULA"));
        alumno.setNombre(rs.getString("NOMBRE"));

From source file ca.nrc.cadc.vos.server.NodeMapper.java

/**
 * Class to map a result set into a Node object.
 */
public class NodeMapper implements RowMapper {
    private static Logger log = Logger.getLogger(NodeMapper.class);

From source file edu.hm.muse.controller.NewsletterMapper.java

public class NewsletterMapper implements RowMapper<Newsletter> {

    @Override
    public Newsletter mapRow(final ResultSet resultSet, final int i) throws SQLException {
        final Newsletter newsletter = new Newsletter();
        newsletter.setId(resultSet.getInt("id"));

From source file mx.edu.um.portlets.esu.dao.impl.DiaDaoImpl.java

class DiaMapper implements RowMapper<Dia> {

    @Override
    public Dia mapRow(ResultSet rs, int i) throws SQLException {
        Dia dia = new Dia();
        dia.setId(rs.getLong("id"));

From source file escuela.AlumnoDaoJdbc.java

class AlumnoMapper implements RowMapper<Alumno> {

    @Override
    public Alumno mapRow(ResultSet rs, int rowNum) throws SQLException {
        Alumno alumno = new Alumno();
        alumno.setId(rs.getLong("ID"));

From source file mx.edu.um.escuela.dao.MaestroDaoJdbc.java

class MaestroMapper implements RowMapper<Maestro> {

    @Override
    public Maestro mapRow(ResultSet rs, int i) throws SQLException {
        Maestro maestro = new Maestro();
        maestro.setId(rs.getLong("id"));

From source file online.themixhub.demo.sql.impl.JobCommentMapper.java

public class JobCommentMapper implements RowMapper<JobComment> {

    public JobComment mapRow(ResultSet rs, int rowNum) throws SQLException {
        JobComment jobComment = new JobComment();
        jobComment.setId(rs.getInt("id"));
        jobComment.setDate(rs.getLong("date"));

From source file online.themixhub.demo.sql.impl.JobMapper.java

public class JobMapper implements RowMapper<Job> {

    public Job mapRow(ResultSet rs, int rowNum) throws SQLException {
        Job job = new Job();
        job.setId(rs.getInt("id"));
        job.setOwner_id(rs.getInt("owner_id"));