Package oss.ngocminh.lego.persistence

Examples of oss.ngocminh.lego.persistence.ProductDAO.list()


  @Test
  public void testList() throws SQLException {
    ProductDAO productDAO = new ProductDAO();
    productDAO.setConnection(getSqlConnection());
    List<Entity> entities = productDAO.list();
    Assert.assertEquals(3, entities.size());
  }
 
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.