@Configuration
public class JdbcRepositoryTestDerbyConfig extends JdbcRepositoryTestConfig {
@Override
public CommentRepository commentRepository() {
return new CommentRepository(CommentRepository.MAPPER,
new RowUnmapper<Comment>() {
@Override
public Map<String, Object> mapColumns(Comment comment) {
Map<String, Object> mapping = new LinkedHashMap<String, Object>();
mapping.put("ID", comment.getId());