UPDATE Query
Learn how to update an existing record in the database.
We'll cover the following...
JdbcTemplate
update()
method
The update()
method of the JdbcTemplate
is used to execute INSERT
as well as UPDATE
queries. So, to update a record in the table, we will create a method updatePlayer()
in the PlayerDao
class, which will be similar to the insertPlayer()
method. The only difference ...