1. Create a Valued Object Which contains the Column of Table (Simple Getter & Setter)
Eg:
TestVO.java
private String userName;
public final String getUserName() {
return userName;
}
public final void setUserName(String userName) {
this.userName= userName;
}
2. Refer this VO in the defined XML File which has the DB related Queries
3.
4.
Note : Here the Parameter calss test contains null .
public List getuserList() {
return queryForList("getUsersList", null);
}