Ebean ORM
record-builder
Ebean ORM | record-builder | |
---|---|---|
7 | 35 | |
1,429 | 650 | |
0.0% | - | |
9.5 | 7.3 | |
15 days ago | 21 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
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.
Ebean ORM
- loom and database drivers
-
How do you guys go about the persistence layer?
You can have a look at https://ebean.io/ ... better control over the generated SQL, multiple levels of abstraction, can generate DB migrations and run the DB migrations, transparent encryption support, SQL 2011 history support, test against docker containers.
- O que estou fazendo?? Um projetinho de estudo.
-
What do you whish for Spring 6?
There is https://ebean.io/ and looks like it a community driven alternative to jOOQ.
-
Do you use code generators in your IDEs or some external ones? If so, which ones?
Ebean ORM https://ebean.io/ was built to somewhat rival JPA (and JDBI) Btw: you can use java 16 records with ebean as DTOs, EmbeddedId and also as read only entity beans (and JPA implementations could similarly do so).
-
20 years of Hibernate
Ebean is pretty good: https://ebean.io
-
Stop Using JPA/Hibernate
I wouldn't call it micro, but https://ebean.io/ is pretty nice.
record-builder
-
JEP Draft – Derived Record Creation (Preview) – Java
The problem with this approach is that the people will have to build crutches like https://github.com/Randgalt/record-builder and by the time Java adds missing features all the codebases will be forever polluted with legacy workarounds that nobody will dare to remove because of backwards compatibility.
It also hinders adoption of new features as people will prefer to maintain consistency in their codebases.
-
Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try.
Record builder is pretty good for making builders for your Java 17 records
-
Useful & Unknown Java Libraries - Piotr's TechBlog
I always have to bring up RecordBuilder simply because of the included Withers and it being a source generator instead of the Lombok weirdness.
-
How to use Java Records
The above is not particularly user-friendly. Luckily compiler plugins can provide the missing feature, most notably RecordBuilder:
-
Named Parameters in Java
For records, instead of lombok you can use https://github.com/Randgalt/record-builder which is a valid annotation processor and will not break on JDK changes
-
has anyone written custom annotations using Lombok ?
In this particular case you can generate the builder with something like https://github.com/Randgalt/record-builder that is both valid java and lombok-like enough
-
I made a java client for the todoist api
Records + Record Builder or immutables + the trick to hide the implementing class w/sealed are your friend. Both the mutability and naming conventions this generates are vomitus.
-
"With" for records -- Brian Goetz
Did you use https://github.com/Randgalt/record-builder ?
-
What's your top Java pet peeve?
Try my annotation processor. It generates withers. https://github.com/Randgalt/record-builder
-
Stay with Java(+Spring) or pivot towards Go/Python?
I personally don't use that one much, but you could use this library instead.
What are some alternatives?
Hibernate - Hibernate's core Object/Relational Mapping functionality
MapStruct - An annotation processor for generating type-safe bean mappers
MyBatis - MyBatis SQL mapper framework for Java
Lombok - Very spicy additions to the Java programming language.
Spring Data JPA - Simplifies the development of creating a JPA-based data access layer.
awesome-annotation-processing - A curated list of resources related to the Java annotation processing API (JSR 269)
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
core - An advanced and highly optimized Java library to build frameworks: it's useful for scanning class paths, generating classes at runtime, facilitating the use of reflection, scanning the filesystem, executing stringified source code and much more...
OrmLite - Core ORMLite functionality that provides a lite Java ORM in conjunction with ormlite-jdbc or ormlite-android
Immutables - Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included
Exposed - Kotlin SQL Framework
Jackson JSON Processor - Main Portal page for the Jackson project