I too wrote my own crappy (anti)ORM-like library a few years back as well <a href="https:&#x2F;&#x2F;github.com&#x2F;agentgt&#x2F;jirm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;agentgt&#x2F;jirm</a> . The most notably difference from other libraries was focusing on immutable objects and embracing real SQL (not a DSL like jOOQ) using a better SQL template language (instead of the JDBC &#x27;?&#x27;) 
<a href="https:&#x2F;&#x2F;github.com&#x2F;agentgt&#x2F;jirm&#x2F;blob&#x2F;master&#x2F;jirm-core&#x2F;README.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;agentgt&#x2F;jirm&#x2F;blob&#x2F;master&#x2F;jirm-core&#x2F;README...</a> . I guess the closest library would be MyBatis.<p>The problem with writing your own library is the massive and continuous support that is required. This is where I eventually gave in and used jOOQ. Its an extremely well maintained and documented library. People complain about it not being completely opensource but neither is intellij so I don&#x27;t have a problem (as well I also only use opensource databases).