We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 258833f commit 5d6b789Copy full SHA for 5d6b789
src/main/java/net/codejava/SalesDAO.java
@@ -89,7 +89,7 @@ public Page<Sale> findAll(Pageable pageable) {
89
return new PageImpl<>(sales, pageable, total);
90
}
91
92
- // a method to returns a list of all sales in a jdbctemplate query to use as a csv output
+ // a method to returns a list of all sales in a jdbctemplate query to use as a csv output
93
public List<Sale> listAll() {
94
String sql = "SELECT * FROM sales ORDER BY serial_number ASC";
95
List<Sale> listSale = jdbcTemplate.query(sql, BeanPropertyRowMapper.newInstance(Sale.class));
0 commit comments