Now that records are official, hoping for expanded support from popular libraries and frameworks

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Jackson JSON Processor

    Main Portal page for the Jackson project

    Jackson 2.12 does support records out of the box

  • jackson-databind

    General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)

    Record support was added transparently to Jackson for Java 14. No extra annotations needed: https://github.com/FasterXML/jackson-databind/pull/2714

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Persism

    A zero ceremony ORM for Java

  • MapStruct

    An annotation processor for generating type-safe bean mappers

    MapStruct supports Records so in theory you can just map to/from whatever it is that can't handle records as another POJO. Besides I most of the time recommend mapping hibernate entities do DTOs anyway.

  • jpa-spec

    While Hibernate supports @Immutable entities, you can't use records to maps entities as the JPA specification says that:

  • record-builder

    Record builder generator for Java records

    There third party libs (like mine: https://github.com/Randgalt/record-builder) that add Wither and Builder support. Useful if you want the feature before it's in the JDK.

  • Hibernate

    Hibernate's core Object/Relational Mapping functionality

    I've tried and failed to add something similar to Hibernate ORM in 2016 (https://github.com/hibernate/hibernate-orm/pull/1668#issuecomment-785293538).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • infobip-spring-data-querydsl

    Infobip Spring Data Querydsl provides new functionality that enables the user to leverage the full power of Querydsl API on top of Spring Data repository infrastructure.

    If you're considering Spring Data JDBC or R2DBC you might want to also consider https://github.com/infobip/infobip-spring-data-querydsl. It has an embedded annotation processor that generates required querydsl Q classes and the library adds quite extensive querydsl support to both JDBC and R2DBC.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts