For the 2nd point, use JDBC, or other libraries like there is a panache entity in quarkus. another example will be hibernate orm. It will make your life way easier.
For someone with node.js background, it's understandable to have these issues. sometimes, I also get frustrated with the 3rd point. like for e.g. on leetcode you have to return int[] but DS uses Integer[].
For the 2nd point, use JDBC, or other libraries like there is a panache entity in quarkus. another example will be hibernate orm. It will make your life way easier.
For someone with node.js background, it's understandable to have these issues. sometimes, I also get frustrated with the 3rd point. like for e.g. on leetcode you have to return int[] but DS uses Integer[].
You can try github.com/braisdom/ObjectiveSql