Configuring log4j for Spring Data JPA - lishman source
Configuring log4j for Spring Data JPA
Set the log4j log level to DEBUG to display queries generated by Spring Data JPA
Output
The output will look something like this:
18:02:56,834 DEBUG JdbcTemplate:572 - Executing prepared SQL statement [SELECT cont_name FROM cont WHERE cont_id = ?]
Read full article from Configuring log4j for Spring Data JPA - lishman source
No comments:
Post a Comment