Trying hard to unravel software engineering.
Enabling Hibernate logs is usually as simple as setting org.hibernate logging level to TRACE or ALL using your logging framework configuration of choice…
org.hibernate
TRACE
ALL
There is a lot of debate on how the if-statements should be used for better code clarity and readability. Most of them boil down to an opinion that its completely subjective and aesthetic. And usually that’s true, but sometimes we…