List of usage examples for org.springframework.jdbc.core RowMapper interface-usage
From source file online.themixhub.demo.sql.impl.AccountMapper.java
public class AccountMapper implements RowMapper<Account> { public Account mapRow(ResultSet rs, int rowNum) throws SQLException { Account account = new Account(); account.setId(rs.getInt("id")); account.setPermission(rs.getInt("permission"));