orders = jdbcTemplate.query(
"SELECT * FROM pizza_order WHERE id = ? and location = ?::store_location",
(prepStmt) -> {
prepStmt.setInt(1, id);
prepStmt.setString(2, location);
},
new OrderRowMapper());
Created
August 30, 2023 15:18
-
-
Save dmagda/83f77ddbb53113ef5baa8aa97b4d7ee6 to your computer and use it in GitHub Desktop.
orders snippet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment