Spring Boot – Show Hibernate SQL query
Add the following lines in application.properties to log the Hibernate SQL query. To show sql statement: logging.level.org.hibernate.SQL=debug . To show sql values: logging.level.org.hibernate.type.descriptor.sql=trace