A revolutionary ORM framework for both java and kotlin.
- Immutable data model
- ORM based on immutable data model
- The ORM also provides a specialized API to speed up the development of Spring GraphQL
It allows developers to arbitrarily outline an area in the relational diagram of the database and decide which entities, relationships and even fields should be included in the area.
then consider this area as a whole
- Query
- Save
- Cache(And automatically ensure data consistency)
English | https://www.youtube.com/watch?v=Rt5zNv0YR2E |
Chinese | Global introduction: https://www.bilibili.com/video/BV1kd4y1A7K3 |
Table Join Topic: https://www.bilibili.com/video/BV19t4y177PX | |
Global filters and parameterized cache: https://www.bilibili.com/video/BV1Mt4y1u7fz/ |
- The abscissa represents the count of data objects queried from the database.
- The ordinate represents the operation count per second.
The project provides complete documentation.
Please view documentation(Both english & chinese) to know everything.
This framework provides three examples
-
Java Examples
- example/java/jimmer-core: How to use immutable objects
- example/java/jimmer-sql: How to use ORM framework
- example/java/jimmer-sql-graphql: How to quickly develop Spring GraphQL services based on jimmer.
-
Kotlin Examples
- example/kotlin/jimmer-core-kt: How to use immutable objects
- example/kotlin/jimmer-sql-kt: How to use ORM framework
- example/kotlin/jimmer-sql-graphql-kt: How to quickly develop Spring GraphQL services based on jimmer.
Language | Entry point |
---|---|
English | https://discord.com/channels/1016206034827743283/ |
Chinese |
Jimmer only focuses on the ORM itself, and does not provide auxiliary tools, such as producing entity interface definitions based on database structures.
Enthusiastic people have contributed related tools. So far, the projects included are:
Project type | Supported languages | Project link |
---|---|---|
Intellij plugin | Java&Kotlin | https://github.com/ClearPlume/jimmer-generator |
Maven plugin | Java | https://github.com/TokgoRonin/code-generator-jimmer |
Intellij plugin | Java&Kotlin | https://github.com/huyaro/CodeGenX |
Everyone is welcome to actively contribute related tools, and submit PR for me to include them in the list