Jimmer ORM is a new database framework that differs from JPA by requiring developers to specify data interaction details at the call site rather than through annotations. It uses interfaces as entities and relies heavily on DTOs for both reading and writing data. The framework includes a dedicated DTO language to reduce manual DTO creation overhead and supports multiple databases including MySQL, PostgreSQL, and Oracle. Unlike Hibernate, Jimmer doesn't implement dirty checking or traditional lazy loading, instead focusing on explicit data shape specification through DTOs and Object Fetcher APIs.

8m read timeFrom feeds.feedblitz.com
Post cover image
Table of contents
1. Introduction2. Overall Architecture3. Entity Sample4. DTO Language5. Null Handling6. DTO Explosion Problem7. Reading Path7. Transaction Management8. Conclusion

Sort: