Skip to content

Instantly share code, notes, and snippets.

@yannbriancon
Last active May 8, 2020 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yannbriancon/b4b408181612f0ac7d3f33e91b93c999 to your computer and use it in GitHub Desktop.
Save yannbriancon/b4b408181612f0ac7d3f33e91b93c999 to your computer and use it in GitHub Desktop.
Test changing interceptor configuration to ERROR
@RunWith(SpringRunner.class)
@SpringBootTest("hibernate.query.interceptor.error-level=ERROR")
@Transactional
class NPlusOneQueriesLoggingTest {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment