Logging

Spring Data JDBC does little to no logging on its own. Instead, the mechanics of JdbcTemplate to issue SQL statements provide logging. Thus, if you want to inspect what SQL statements are executed, activate logging for Spring’s NamedParameterJdbcTemplate or MyBatis.