
How to Replace Joda Time and java.util.Date With java.time
Migrate from java.util.Date, Calendar and Joda Time to java.time with a type table, boundary adapters, JPA and Jackson settings and time zone tests.
Everything you need to level up your coding skills.

Migrate from java.util.Date, Calendar and Joda Time to java.time with a type table, boundary adapters, JPA and Jackson settings and time zone tests.

Test Spring MVC controllers with MockMvc and WebMvcTest: status, JSON, validation, security, uploads and exception handlers without a server.

Write readable API tests with REST Assured: given when then, JSON path checks, request specs, authentication, schema validation and Spring Boot setup.

Fetch only the columns you need with Spring Data JPA projections: interface and record DTOs, dynamic, nested and open projections, and limits.

Build dynamic JPA search queries with the Criteria API, the static metamodel and Spring Data Specifications, including paging, joins and the count query trap.

Use Hibernate StatelessSession to import and export large data sets without a persistence context, with JDBC batching, scrollable queries and the trade-offs.

Implement soft deletes with Hibernate: the @SoftDelete annotation, filtering deleted rows, restoring, unique constraints and when a real delete is better.

What Open Session in View does in Spring Boot, why it hides LazyInitializationException, how it keeps a database connection longer, and how to spot its costs.

Compare Hibernate, Spring JdbcClient and jOOQ for reporting queries with grouping, windows and large result sets, and pick one by the shape of the query.

Build a Java application image in GitHub Actions and push it to a registry with Buildx, tags from Git, layer caching and a read-only token where possible.

Stop SQL injection in Java by binding values with parameters in JDBC, JPA and Spring, allow-listing identifiers and limiting what the database account can do.

Map the class file version in the error to a Java release, then align the runtime, the compiler release flag and the toolchain so the mismatch cannot return.
We send one email when a new post is published. No spam.