logging.level.org.hibernate.SQL=debug
logging.level.org.hibernate.type.descriptor.sql=trace

spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true

Tried with above properties but those are not working out.

1

There are 1 answers

0
alamar On

I don't know if there is mandatory logging on Spring Data size, but on Ignite side there is no such thing.

One way to get that behavior is by setting longQueryWarningTimeout in Ignite configuration to 1, i.e 1 ms. It will get all queries which took longer than 1 ms printed with warning "Query execution is too long", effectively all of them.