How do you guys go about the persistence layer?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • schema-evolution-manager

    Schema Evolution Manager makes it very simple for engineers to contribute schema changes to a postgresql database, managing the schema evolutions as proper source code. Schema changes are deployed as gzipped tarballs named with the corresponding git tag.

  • I'm a fan of Flyway, and it can integrate pretty well into Dropwizard & Spring, but I vastly prefer separating the schema (DDL) into its own repository, in which case Java seems like an over-complication. SEM is a good, open-source tool that functions more or less like Flyway and doesn't need to load the entire Java framework to get going.

  • Spring

    Spring Framework

  • The web services framework I use (Dropwizard, similar to Spring) comes with abstractions for Hibernate, so that makes the choice of an ORM layer pretty simple. Hibernate is good enough for most situations and will let you create native SQL queries for those cases where you have more complicated DML to run.

  • 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.

    InfluxDB logo
  • Lombok

    Very spicy additions to the Java programming language.

  • I'm already core maintainer of a 1 million+ users open source project (Project Lombok). I give presentations on how difficult that can be. It's even called 'our 7 biggest mistakes'.

  • SQLDelight

    SQLDelight - Generates typesafe Kotlin APIs from SQL

  • Something I'll add because it hasn't been mentioned yet is sqldelight.

  • jtaf4

    JTAF - Java Track and Field

  • Hmm, interesting. I've seen some rather complex nesting in customer code. One thing that I can show here is this.

  • Ebean ORM

    Ebean ORM

  • 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.

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

  • Show HN: Riza – Safely run untrusted code from your app

    1 project | news.ycombinator.com | 30 Apr 2024
  • Give Up Sooner

    1 project | dev.to | 13 Mar 2024
  • ORMs are nice but they are the wrong abstraction

    7 projects | news.ycombinator.com | 1 Feb 2024
  • People who use rust and postgres in production along with RDS proxy, what do you do?

    1 project | /r/rust | 15 Nov 2023
  • What Are ORMs & Should You Use Them

    1 project | dev.to | 14 Nov 2023