Learn various ways of extracting the request headers for a Spring application.
Here's what I've written (so far):
Baeldung on Java
- All
- Persistence (3)
- Java (3)
- Spring Web (2)
- Reactive (2)
- Java Collections (2)
- Web Services (1)
- Spring Persistence (1)
- Spring Data (1)
RxJava Single.just() vs Single.fromCallable()
Filed under Reactive
Learn two popular ways of creating a Single object in RxJava.
Java Generics PECS – Producer Extends Consumer Super
Filed under Java Collections
Explore the usage of Java Generics when it comes to producing and consuming collections.
How to Access the First Element of a Flux
Filed under Reactive
Explore various ways of accessing the first element of a Flux.
Comparison Between Mono’s doOnNext() and doOnSuccess()
Filed under Spring Web
Learn about various listeners’ options of the Mono object from Spring 5 WebFlux.
Patterns for Iterating Over Large Result Sets With Spring Data JPA
Filed under Spring Data
Learn various ways of iterating through large data sets retrieved with Spring Data JPA.
Basic Authentication With Postman
Filed under Web Services
Learn how to use Postman to test an endpoint secured with Basic Authentication.
Java 8 Streams: Multiple Filters vs. Complex Condition
Filed under Java Collections
Let’s compare different ways of filtering Java Streams.
Java 14 Record vs. Lombok
Filed under Java
Learn the differences and similarities between Java 14 Records and Lombok.
Hibernate’s “Detached Entity Passed to Persist” Error
Filed under Persistence
Explanation about detached entities, why occurs the”Detached Entity Passed to Persist” error occurs and how to prevent it.
Constraint Composition with Bean Validation
Filed under Java
Learn how to group multiple constraints under a single, custom annotation to reduce code duplication and improve readability
Joining Tables With Spring Data JPA Specifications
Filed under Spring Persistence
Learn how to use JPA Specifications to query a table based on one of its associated entities.
Hibernate’s “Not-Null Property References a Null or Transient Value” Error
Filed under Persistence
Learn about Hibernate’s PropertyValueException. In particular, the “not-null property references a null or transient value” error message.
Distinct Queries in HQL
Filed under Persistence
A quick and practical guide to distinct queries in HQL.
Subtract Days from a Date in Java
Filed under Java
Explore several ways to subtract days from a date object.