Is there anything like hug sql but for java. As in the sql files turn into Java functions.
It would be fun to make HugSQl work with Java, all the pieces are there but of course it depends on your definition of “fun” 😬
before HugSQL there was yesql - https://github.com/krisajenkins/yesql#other-languages it made a bit of a stir when it came out so maybe somebody wrote something like it for Java (it's not listed in the readme)
Thanks lukasz, sadly that list didn't contain Java.
You may want too look at jooq
I used it a lot and it's very good. I much prefer using jooq over JPA