List of usage examples for org.springframework.jdbc.core RowMapper interface-usage
From source file org.jasig.schedassist.impl.owner.PublicProfileIdRowMapper.java
/**
* {@link RowMapper} for {@link PublicProfileId}.
*
* @author Nicholas Blair, nblair@doit.wisc.edu
* @version $Id: PublicProfileIdRowMapper.java 2126 2010-05-19 16:38:32Z npblair $
*/
From source file ru.mystamps.web.dao.impl.SeriesInfoDtoRowMapper.java
class SeriesInfoDtoRowMapper implements RowMapper<SeriesInfoDto> { @Override public SeriesInfoDto mapRow(ResultSet resultSet, int i) throws SQLException { Integer seriesId = resultSet.getInt("id"); Integer releaseDay = JdbcUtils.getInteger(resultSet, "release_day");
From source file org.ff4j.store.rowmapper.FeatureRowMapper.java
/** * Mapper to convert result into * * @author <a href="mailto:cedrick.lunven@gmail.com">Cedrick LUNVEN</a> */ public class FeatureRowMapper implements RowMapper<Feature> {
From source file springobjectmapper.FieldPropertyRowMapper.java
public class FieldPropertyRowMapper<T> implements RowMapper<T> { private final Class<T> typeClass; private final Map<String, Field> fieldMapping; public FieldPropertyRowMapper(Class<T> typeClass, TableProperties<T> properties) { this.typeClass = typeClass;
From source file org.jasig.schedassist.impl.owner.PublicProfileRowMapper.java
/**
* {@link RowMapper} for {@link PublicProfile}s.
*
* @see PublicProfileIdRowMapper
* @author Nicholas Blair, nblair@doit.wisc.edu
* @version $Id: PublicProfileRowMapper.java 2126 2010-05-19 16:38:32Z npblair $
From source file com.persistent.cloudninja.mapper.MeteringTotalsEntityRowMapper.java
/**
*
* This class is used to map the rows columns as a result of query on ALL_METERING_DAILY_VIEW ME &
* STORAGEMETERING_DAILY_VIEW
*
*/
From source file ru.mystamps.web.dao.impl.SitemapInfoDtoRowMapper.java
class SitemapInfoDtoRowMapper implements RowMapper<SitemapInfoDto> { @Override public SitemapInfoDto mapRow(ResultSet resultSet, int i) throws SQLException { Integer id = resultSet.getInt("id"); Date updatedAt = resultSet.getTimestamp("updated_at");
From source file ru.mystamps.web.dao.impl.UsersActivationRowMapper.java
class UsersActivationRowMapper implements RowMapper<UsersActivation> { @Override public UsersActivation mapRow(ResultSet resultSet, int i) throws SQLException { String activationKey = resultSet.getString("act_key"); String email = resultSet.getString("email");
From source file db.postgres.ZoneClientRowMapper.java
@SuppressWarnings("deprecation") public class ZoneClientRowMapper implements RowMapper<ZoneClientEntity> { @Override public ZoneClientEntity mapRow(final ResultSet rs, final int rowNum) throws SQLException { ZoneClientEntity zoneClient = new ZoneClientEntity();
From source file dao.DatasetWithUserRowMapper.java
public class DatasetWithUserRowMapper implements RowMapper<Dataset> { public static String DATASET_ID_COLUMN = "id"; public static String DATASET_NAME_COLUMN = "name"; public static String DATASET_URN_COLUMN = "urn"; public static String DATASET_SCHEMA_COLUMN = "schema"; public static String DATASET_SOURCE_COLUMN = "source";