When inserting using jdbctemplate, I am doing this:
getJdbcTemplate().update("insert users (...) values(?,?,?)", user.get...);
- How do I get the inserted id back from msql? (it is the primary key)
For updates, is it possible to return a boolean if the update was successful?
getJdbcTemplate().update("delete users where id = ?", id);