JDBC, Transactions, Spring Data JPA
July 29, 2021

M03 Q05 Can you execute a plain SQL statement with the JDBC template?

Yes, JDBC Template allows execution of plain SQL statements with the following methods:

  • query
  • queryForList
  • queryForObject
  • queryForMap
  • queryForRowSet
  • execute
  • update
  • batchUpdate