This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import org.springframework.jdbc.core.RowMapper; | |
import test.vo.SourceVO; | |
public class TbSourceMapper implements RowMapper<SourceVO> { | |
@Override | |
public SourceVO mapRow(ResultSet rs, int rowNum) throws SQLException { | |
SourceVO vo = new SourceVO(); | |
vo.col1 = rs.getString(1); | |
vo.col2 = rs.getString(2); | |
vo.col3 = rs.getString(3); | |
return vo; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment