@Crell And I thought I'm the only one. Running anything that is a little more complex than SELECT * FROM TABLE and maybe some joins is such a pain. SQL is so powerful, versatile and fast, but I feel that most of this is inaccessible due to ORMs that sit between you and the data.
Have you ever worked with JOOQ? It seems to get a lot right in that regard.