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 com.kang.spring.integration.mapper.PersonMapper.java

/**
 * The result set mapper that will map the {@link ResultSet} to the {@link Person} instance 
 * @author Amol Nayak
 *
 */
@Component

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

/**
 * {@link RowMapper} implementation for {@link PersistencePreference}.
 *  
 * @author Nicholas Blair, nblair@doit.wisc.edu
 * @version $Id: PersistencePreferenceRowMapper.java 1919 2010-04-14 21:19:48Z npblair $
 */

From source file com.wantscart.jade.core.mapper.AbstractCollectionRowMapper.java

/**
 * SQL???
 * 
 * @author  [qieqie.wang@gmail.com]
 * @author  [in355hz@gmail.com]
 */

From source file db.postgres.PolicySetRowMapper.java

public class PolicySetRowMapper implements RowMapper<PolicySetEntity> {

    @Override
    public PolicySetEntity mapRow(final ResultSet rs, final int rowNum) throws SQLException {
        return new PolicySetEntity(null, rs.getString("policy_set_id"), rs.getString("policy_set_json"));
    }

From source file org.jasig.schedassist.impl.reminder.PersistedReminderImplRowMapper.java

/**
 * {@link RowMapper} for persisted reminders.
 *
 * @author Nicholas Blair, nblair@doit.wisc.edu
 * @version $Id: DefaultReminderServiceImpl.java 3070 2011-02-09 13:53:34Z npblair $
 */

From source file db.postgres.ResourceRowMapper.java

public class ResourceRowMapper implements RowMapper<ResourceEntity> {

    @Override
    public ResourceEntity mapRow(final ResultSet rs, final int rowNum) throws SQLException {
        ResourceEntity resource = new ResourceEntity();
        resource.setResourceIdentifier(rs.getString("resource_identifier"));

From source file org.deshang.content.indexing.util.jdbc.AbstractRowMapper.java

public abstract class AbstractRowMapper<T> implements RowMapper<T> {

    private static final Logger LOGGER = LoggerFactory.getLogger(AbstractRowMapper.class);

    protected String getBlobContent(Blob blob) throws SQLException {

From source file db.postgres.SubjectRowMapper.java

public class SubjectRowMapper implements RowMapper<SubjectEntity> {

    @Override
    public SubjectEntity mapRow(final ResultSet rs, final int rowNum) throws SQLException {
        SubjectEntity subject = new SubjectEntity();
        subject.setSubjectIdentifier(rs.getString("subject_identifier"));

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

/**
 * RowMapper for {@link OwnerDefinedRelationship} objects.
 * Expects the following column names (all strings) :
 <ul>
 <li>owner_username</li>
 <li>relationship</li>

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

/**
 * {@link RowMapper} for {@link PersistenceAvailableBlock}.
 * 
 * @author Nicholas Blair, nblair@doit.wisc.edu
 * @version $Id: PersistenceAvailableBlockRowMapper.java 1919 2010-04-14 21:19:48Z npblair $
 */