Just a note to self on how to get (in my case) IntelliJ to spit out all SQL statements happening during unit tests.
- Add the following to application.conf
- Add the following to logback.xml
<logger name="org.jdbcdslog.ConnectionLogger" level="OFF" />
<logger name="org.jdbcdslog.StatementLogger" level="INFO" />
<logger name="org.jdbcdslog.ResultSetLogger" level="OFF" />
Source: StackOverflow
I’ve several times had the Alt Gr key stop working while using IntelliJ. On norwegian keyboards, this key is essential in typing e.g. the brackets {} and [], so it not working is extremely annoying. And what increases the annoyance even more, is that, when this happens, the key for some reason stops working in other programs too.
Anyways, this seemed to fix it, on my machine at least, for now:
- Go to Help \ Edit Custom Properties
- Paste in this line:
actionSystem.force.alt.gr=true
- Restart IntelliJ
With a hint of Social Ineptitude