jpa2ddl
jpa-entity-generator
jpa2ddl | jpa-entity-generator | |
---|---|---|
1 | 1 | |
110 | 209 | |
-0.9% | -0.5% | |
0.0 | 0.0 | |
over 2 years ago | 22 days ago | |
Java | Java | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jpa2ddl
-
Don’t call it a comeback: Why Java is still champ
Java generator to get DDL from JPA: https://github.com/Devskiller/jpa2ddl
jpa-entity-generator
-
Don’t call it a comeback: Why Java is still champ
Want more examples? What about database schemas and mapping them to your ORM/other persistence layer solution? I think if you're writing your own model code, you're doing something wrong, regardless of the language that you use. You'll probably mess up or miss relation mapping with something like Hibernate, will miss out on some comments for autocomplete in Laravel and just generally will have an inconsistent persistence layer that will make you waste time.
In most cases, starting with the schema first and using one of the available generation solutions to fill in the application side of the persistence layer seems like the only sane options. Sure, some might prefer to handle migrations in the app side, like Ruby's Active Record Migrations, or something like Liquibase, which are also passable approaches, as long as you don't create a bad schema just so it fits your application.
Java JPA entity generator example: https://github.com/smartnews/jpa-entity-generator
What are some alternatives?
ixy-languages - A high-speed network driver written in C, Rust, C++, Go, C#, Java, OCaml, Haskell, Swift, Javascript, and Python
Joda-Beans - Java library to provide an API for beans and properties.
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Auto - A collection of source code generators for Java.
Lombok - Very spicy additions to the Java programming language.
Checker Framework - Pluggable type-checking for Java
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
project-loom-c5m - Experiment to achieve 5 million persistent connections with Project Loom virtual threads