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 ru.mystamps.web.dao.impl.LinkEntityDtoRowMapper.java

class LinkEntityDtoRowMapper implements RowMapper<LinkEntityDto> {

    @Override
    public LinkEntityDto mapRow(ResultSet resultSet, int i) throws SQLException {
        Integer collectionId = resultSet.getInt("collection_id");
        String collectionSlug = resultSet.getString("collection_slug");

From source file com.persistent.cloudninja.mapper.ProvisioningLogRowMapper.java

/**
 * 
 * Class for mapping rows to ProvisioningLog table
 *
 */
public class ProvisioningLogRowMapper implements RowMapper<ProvisioningLogEntity> {

From source file at.plechinger.minigeocode.mapper.ReverseGeocodeRowMapper.java

/**
 * Maps a sql ResultSet to a GeocodeResult.
 */
@Component
public class ReverseGeocodeRowMapper implements RowMapper<ReverseGeocodeResult> {

From source file com.azaptree.services.domain.entity.dao.VersionedEntityRowMapperSupport.java

public abstract class VersionedEntityRowMapperSupport<T extends VersionedEntity> implements RowMapper<T> {

    protected abstract T createEntity(final ResultSet rs, final int rowNum) throws SQLException;

    @Override
    public T mapRow(final ResultSet rs, final int rowNum) throws SQLException {

From source file com.persistent.cloudninja.mapper.InstanceHealthKpiValueRowMapper.java

/**
 * Maps InstanceHealthKpiValueEntity to KpiValue table in database.
 */
public class InstanceHealthKpiValueRowMapper implements RowMapper<InstanceHealthKpiValueEntity> {

    @Override

From source file org.jasig.schedassist.impl.owner.PublicProfileTagRowMapper.java

/**
 * {@link RowMapper} for {@link PublicProfileTag}.
 * 
 * @author Nicholas Blair
 * @version $Id: PublicProfileTagRowMapper.java $
 */

From source file com.persistent.cloudninja.mapper.InstanceHealthRoleInstanceRowMapper.java

/**
 * Maps InstanceHealthRoleInstanceEntity to database.
 */
public class InstanceHealthRoleInstanceRowMapper implements RowMapper<InstanceHealthRoleInstanceEntity> {

    @Override

From source file org.cateproject.features.rowmapper.RoleRowMapper.java

/**
 * Implementation of JDBC store using Spring JDBC.
 * 
 * @author <a href="mailto:cedrick.lunven@gmail.com">Cedrick LUNVEN</a>
 */
public class RoleRowMapper implements RowMapper<Integer>, JdbcStoreConstants {

From source file tr.edu.gsu.peralab.mobilesensing.web.dao.rowmapper.UserRowMapper.java

/**
 * @author yalcin.yenigun
 * This class contains row mappings for User entity.
 */
public class UserRowMapper implements RowMapper<User> {

From source file it.dontesta.spring.example.model.dao.HorseRowMapper.java

public class HorseRowMapper implements RowMapper<Horse> {

    private static final String CHIP_ID_COLUMN_LABEL = "CHIP_ID";
    private static final String NAME_COLUMN_LABEL = "NAME";
    private static final String AGE_COLUMN_LABEL = "AGE";
    private static final String TYPE_COLUMN_LABEL = "TYPE";