(Source Code) How to get whole record of a table into a java List
Submitted by guru on Sat, 01/24/2009 - 13:28
Source Code : How to get whole record of a table into a java List
Code:
public List getList() {
jt = new JdbcTemplate(dataSource);
List rows = jt.queryForList("select * from persone");
return rows;
}
Courtesy:- Java-forums.org
- guru's blog
- Login to post comments
