Persism
record-builder
Our great sponsors
Persism | record-builder | |
---|---|---|
37 | 35 | |
137 | 642 | |
- | - | |
3.9 | 7.2 | |
7 months ago | 8 days ago | |
TSQL | Java | |
BSD 3-clause "New" or "Revised" License | 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.
Persism
- Persism 2.2.0 - A Lightweight ORM for Java
-
Advantages of not using Spring Data and Hibernate with relational data
People would be much better off using Persism https://github.com/sproket/Persism
-
vm arguments for jdbc in javafx app
Yes, you do also have to add the mysql-connector-java-(version).jar to the classpath. If you run it in eclipse, it should show the command line it uses somewhere. BTW if you're looking for a simple streamlined ORM have a look at persism
-
Useful Tools for Game Development
If you use Java you might like Persism https://github.com/sproket/Persism if you need to do anything databases.
- Persism: A zero ceremony ORM for Java - release 2.1.0
- Persism Release V2.1.0 - with support for Table Joins!
-
Rapidly develop CRUD apps (and Apache Isis experience?)
If you want to try a easy to use ORM have a look at Persism
-
New to desktop app (game), how do you manage database?
It's not that good. It doesn't have persism on it yet https://github.com/sproket/Persism
-
Signals: A library for using decoupled observers
Is there a reason it needs a dependency on Lombok? If you want a library to be used, the less dependencies the better. See mine. It has zero.
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?
ObjectiveSql - Writing SQL using Java syntax
MapStruct - An annotation processor for generating type-safe bean mappers
castlemock - Castle Mock is a web application that provides the functionality to mock out RESTful APIs and SOAP web services.
Lombok - Very spicy additions to the Java programming language.
Doma 2 - DAO oriented database mapping framework for Java 8+
awesome-annotation-processing - A curated list of resources related to the Java annotation processing API (JSR 269)
Permazen - Language-Natural Persistence Layer for Java
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...
Minestom - 1.20.4 Lightweight Minecraft server
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
Hibernate - Hibernate's core Object/Relational Mapping functionality
Jackson JSON Processor - Main Portal page for the Jackson project