The difference between Spring Data JPA’s findById, getOne, getById, and findOne methods
Thorben Janssen Blog
by Thorben Janssen
3d ago
The post The difference between Spring Data JPA’s findById, getOne, getById, and findOne methods appeared first on Thorben Janssen. Spring Data’s JpaRepository provides a huge set of methods that simplify the implementation of your database operations. You can use them to persist, remove, and read an… The post The difference between Spring Data JPA’s findById, getOne, getById, and findOne methods appeared first on Thorben Janssen ..read more
Visit website
Hibernate Performance Tuning – 2023 Edition
Thorben Janssen Blog
by Thorben Janssen
2w ago
The post Hibernate Performance Tuning – 2023 Edition appeared first on Thorben Janssen. Based on most discussions online and at conferences, there seem to be 2 kinds of projects that use Hibernate for their persistence layer. Most use… The post Hibernate Performance Tuning – 2023 Edition appeared first on Thorben Janssen ..read more
Visit website
Entity Views with Blaze Persistence – The better DTO projections?
Thorben Janssen Blog
by Thorben Janssen
3w ago
The post Entity Views with Blaze Persistence – The better DTO projections? appeared first on Thorben Janssen. Blaze Persistence’s Entity Views try to solve some of the most common complaints about DTO projections in JPA and Hibernate. Most developers know that DTOs… The post Entity Views with Blaze Persistence – The better DTO projections? appeared first on Thorben Janssen ..read more
Visit website
Create better Criteria queries with Blaze persistence
Thorben Janssen Blog
by Thorben Janssen
4M ago
The post Create better Criteria queries with Blaze persistence appeared first on Thorben Janssen. The Blaze Persistence project provides an interesting alternative to JPA’s Criteria API. Both APIs enable you to define queries dynamically at runtime. Most developers use… The post Create better Criteria queries with Blaze persistence appeared first on Thorben Janssen ..read more
Visit website
6 Performance Pitfalls when using Spring Data JPA
Thorben Janssen Blog
by Thorben Janssen
4M ago
The post 6 Performance Pitfalls when using Spring Data JPA appeared first on Thorben Janssen. Thanks to its ease of use, Spring Data JPA is an incredibly popular persistence framework. If developers have something to complain about, they usually criticize… The post 6 Performance Pitfalls when using Spring Data JPA appeared first on Thorben Janssen ..read more
Visit website
The differences between Spring Data JPA’s save, saveAndFlush and saveAll methods
Thorben Janssen Blog
by Thorben Janssen
4M ago
The post The differences between Spring Data JPA’s save, saveAndFlush and saveAll methods appeared first on Thorben Janssen. Spring Data JPA’s standard repositories provide a set of methods that handle common operations used by most persistence layers. That saves us a lot of… The post The differences between Spring Data JPA’s save, saveAndFlush and saveAll methods appeared first on Thorben Janssen ..read more
Visit website
How to use PostgreSQL’s JSONB data type with Hibernate
Thorben Janssen Blog
by Thorben Janssen
6M ago
The post How to use PostgreSQL’s JSONB data type with Hibernate appeared first on Thorben Janssen. Most databases offer lots of proprietary features in addition to the known SQL standard. One example is PostgreSQL’s JSONB data type which allows you to… The post How to use PostgreSQL’s JSONB data type with Hibernate appeared first on Thorben Janssen ..read more
Visit website
Spring Data JDBC – Use a sequence to generate primary keys
Thorben Janssen Blog
by Thorben Janssen
6M ago
The post Spring Data JDBC – Use a sequence to generate primary keys appeared first on Thorben Janssen. By default, Spring Data JDBC expects the database to provide a primary key value for every new record. The easiest way to achieve that is… The post Spring Data JDBC – Use a sequence to generate primary keys appeared first on Thorben Janssen ..read more
Visit website
How to generate UUIDs as primary keys with Hibernate
Thorben Janssen Blog
by Thorben Janssen
7M ago
The post How to generate UUIDs as primary keys with Hibernate appeared first on Thorben Janssen. Most developers prefer numerical primary keys because they are efficient to use and easy to generate. But that doesn’t mean that a primary key has… The post How to generate UUIDs as primary keys with Hibernate appeared first on Thorben Janssen ..read more
Visit website
Flyway – Implementing Java-based Migrations and Callbacks
Thorben Janssen Blog
by Thorben Janssen
7M ago
The post Flyway – Implementing Java-based Migrations and Callbacks appeared first on Thorben Janssen. Flyway’s SQL-script based database migration is more than powerful enough for most use cases. But sometimes, you must take it one step further to adapt… The post Flyway – Implementing Java-based Migrations and Callbacks appeared first on Thorben Janssen ..read more
Visit website

Follow Thorben Janssen Blog on Feedspot

Continue with Google
OR