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 wiki.doc.DocIdMapper.java

/**
 * Created by Michael Kelley on 5/11/14.
 * See LICENSE file for license information.
 */
public class DocIdMapper implements RowMapper<DocId> {
    @Override

From source file wiki.doc.DocMapper.java

/**
 * Created by Michael Kelley on 5/2/14.
 * See LICENSE file for license information.
 */
public class DocMapper implements RowMapper<Doc> {
    @Override

From source file wiki.result.ResultMapper.java

/**
 * Created by Michael Kelley on 5/13/14.
 * See LICENSE file for license information.
 */
public class ResultMapper implements RowMapper<Result> {
    @Override

From source file com.carfinance.module.statisticsmanage.domain.VehicleIncomRowMapper.java

public class VehicleIncomRowMapper implements RowMapper<VehicleIncom> {
    public VehicleIncom mapRow(ResultSet rs, int arg1) throws SQLException {
        VehicleIncom vehicleIncom = new VehicleIncom();

        vehicleIncom.setLicense_plate(rs.getString("license_plate"));
        vehicleIncom.setModel(rs.getString("model"));

From source file com.carfinance.module.vehicleservicemanage.domain.UserDriverRowMapper.java

public class UserDriverRowMapper implements RowMapper<UserDriver> {
    public UserDriver mapRow(ResultSet rs, int arg1) throws SQLException {
        UserDriver userDriver = new UserDriver();

        userDriver.setUser_id(rs.getLong("user_id"));
        userDriver.setUser_name(rs.getString("user_name"));

From source file com.carfinance.module.vehiclemanage.domain.VehicleInsuranceRowMapper.java

public class VehicleInsuranceRowMapper implements RowMapper<VehicleInsurance> {
    public VehicleInsurance mapRow(ResultSet rs, int arg1) throws SQLException {
        VehicleInsurance vehicleInfo = new VehicleInsurance();

        vehicleInfo.setId(rs.getLong("id"));
        vehicleInfo.setCarframe_no(rs.getString("carframe_no"));

From source file com.carfinance.module.vehiclemanage.domain.VehiclePeccancyRowMapper.java

public class VehiclePeccancyRowMapper implements RowMapper<VehiclePeccancy> {
    public VehiclePeccancy mapRow(ResultSet rs, int arg1) throws SQLException {
        VehiclePeccancy vehiclePeccancy = new VehiclePeccancy();

        vehiclePeccancy.setId(rs.getLong("id"));
        vehiclePeccancy.setCarframe_no(rs.getString("carframe_no"));

From source file com.carfinance.module.vehiclemanage.domain.VehicleMaintailRowMapper.java

public class VehicleMaintailRowMapper implements RowMapper<VehicleMaintail> {
    public VehicleMaintail mapRow(ResultSet rs, int arg1) throws SQLException {
        VehicleMaintail vehicleMaintail = new VehicleMaintail();

        vehicleMaintail.setId(rs.getLong("id"));
        vehicleMaintail.setCarframe_no(rs.getString("carframe_no"));

From source file io.github.vteial.maxmoney.jdbc.CustomerRowMapper.java

public class CustomerRowMapper implements RowMapper<Customer> {

    @Override
    public Customer mapRow(ResultSet resultSet, int intRow) throws SQLException {
        Customer model = new Customer();

From source file com.carfinance.module.customermanage.domain.CustomerInfoRowMapper.java

public class CustomerInfoRowMapper implements RowMapper<CustomerInfo> {
    public CustomerInfo mapRow(ResultSet rs, int arg1) throws SQLException {
        CustomerInfo customerInfo = new CustomerInfo();

        customerInfo.setId(rs.getLong("id"));
        customerInfo.setCertificate_type(rs.getString("certificate_type"));