### Question:
ProductServiceImpl implements ProductService { @Transactional(propagation=Propagation.REQUIRED) public List<Product> listAll() { return productDao.listAll(); }  @Transactional(propagation=Propagation.REQUIRED) List<Product> listAll(); @Transactional(propagation=Propagation.REQUIRED) boolean save(Product product); @Transactional(propagation=Propagation.REQUIRED) boolean update(Product product); @Transactional(propagation=Propagation.REQUIRED) Product getModel(int id); @Override List<Product> selectLikeName(String name);  }### Answer:
@Test public void listAll(){ List<Product> lists=productService.listAll(); for (Product product : lists) { System.out.println(product.getName()+"\t"+product.getDescription()+"\t"+product.getCategory().getId()+"\t"+product.getCategory().getName()); } }