java | Monday, 26 June 2023
We can log the SQL statements by configuring loggers in the properties file:
logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE