4 ms·
Have you checked out MyBatis or JOOQ? They sound pretty much like what you're describing.
by taffer 7y ago
Have you checked out MyBatis or JOOQ? They sound pretty much like what you're describing.
- james_s_tayler 7y agoMyBatis has _some_ similarities, notably the defining entities in xml part. But it diverges after that. Think about it more like MyBatis meets Spring Data JPA. Define that entity in XML the run a code gen which gives you the CrudRepository class but also generates a controller that exposes an API with pretty good good ability to specify adhoc queries. Plus view models. I think it worked because it both reasonably well designed and hyper opinionated.