Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set
hibernate.show_sql
to false as default
Otherwise the log on CI becomes too big. If you prefer to enable it while working, in IDEA 2022.3.3, you can set ``` JAVA_TOOL_OPTIONS='-Dhibernate.show_sql=true' ``` in Run > Edit Configurations > Edit Configuration Templates > Gradle > Environment Variables
- Loading branch information
0a93be7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DavideD I'm not sure I agree with this change. Wouldn't it have been better to leave SQL logging enabled by default, and explicitly disable it only in the CI?
0a93be7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really that important? This was the configuration we used while working on 1.1 and nobody really complained.
0a93be7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, important, perhaps not. But it's really very convenient to be able to immediately see the SQL emitted when I'm working on a test, or when I click on a failing test.