[Doma 2](https://doma.readthedocs.io/en/stable/) - Doma 2 is a database access framework for Java 8+. It is unique in that it does code generation thus avoiding reflection. This is becoming more popular as people want to use GraalVM native images. It also has native SQL templates, called “two-way SQL”.

I have no association with the author of the library but found it extremely interesting in its approach for database access. I think it isn't as well known because it just recently had its documentation and source code ported to English. The library even has an eclipse plugin!
This commit is contained in:
Adam Gent
2019-05-17 11:03:13 -04:00
committed by GitHub
parent 04604dcca0
commit dc91e40da3

View File

@ -671,6 +671,7 @@ A curated list of awesome Java frameworks, libraries and software.
*APIs that handle the persistence of objects.*
- [Apache Cayenne](https://cayenne.apache.org) - Provides a clean, static API for data access. Also includes a GUI Modeler for working with database mappings, and DB reverse engineering and generation.
- [Doma 2](https://doma.readthedocs.io/en/stable/) - A database access framework that verifies and generates source code at compile time using annotation processing as well as native SQL templates called “two-way SQL”.
- [Ebean](https://ebean-orm.github.io) - Provides simple and fast data access.
- [EclipseLink](https://www.eclipse.org/eclipselink) - Supports a number of persistence standards: JPA, JAXB, JCA and SDO.
- [Hibernate](http://hibernate.org/orm) - Robust and widely used, with an active community.