GeneratedKeyHolder (Java Doc) class which can be used to retrieve the auto generated values.
Spring provides a simple API to work with SQL called
JdbcTemplate (JavaDoc). This is a very popular class as it simplifies the code when dealing with databases. The
JdbcTemplate does not provide transaction support out-of-the-box and in this article we will see how to make use of transactions.