1 PreparedStatement statement =
2 connection.prepareStatement("UPDATE CUSTOMERS SET FNAME = ?, LNAME = ? WHERE ID = ?")) {
3 statement.setString(1, customer.getFirstName());
4 statement.setString(2, customer.getLastName());
5 statement.setInt(3, customer.getId());