org.beast.project.template.dao.mapper.PersonRowMapper.java Source code

Java tutorial

Introduction

Here is the source code for org.beast.project.template.dao.mapper.PersonRowMapper.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.beast.project.template.dao.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;

/**
 *
 * @author u329022
 */
public class PersonRowMapper implements RowMapper<Object> {

    @Override
    public Object mapRow(ResultSet rs, int i) throws SQLException {
        PersonExtractor extractor = new PersonExtractor();
        return extractor;
    }

}