/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package main;
import dao.DAO;
import entity.Info;
import java.util.List;
import org.apache.log4j.Logger;
/**
*
* @author naisiong.yap
*/
public class Main {
private static Logger logger = Logger.getLogger(Main.class);
// DAO dao = new DAO();
// List<Info> vo ;
public static void main(String[] args) throws Exception {
DAO dao = new DAO();
List<Info> vo = DAO.getList();
System.out.println(vo.size());
//System.out.println(vo.get(0).getMsisdn());
System.out.println(vo.get(1));
for (Info member : vo) {
System.out.println("id : "+member.getId()+
", Name : " + member.getName());
}
}
}