@Override
 public UserStory getStoryInfo(long storyId) {
   return cm.getJdbcTemplate()
       .queryForObject(
           String.format("select * from %s where id = ?", TABLE),
           new Object[] {storyId},
           factory.getStoryInfoRowMapper());
 }
 @Override
 public List<UserStory> getStoryInfosByExample(UserStory example, int offset, int length) {
   return cm.selectByExample(
       TABLE, example, true, factory.getStoryInfoRowMapper(), offset, length);
 }