Learn about the @NaturalId annotation and how to use and implement it in a Spring Boot project.
Also find me here:
Baeldung Author
Emanuel Trandafir
I'm Emanuel Trandafir, a passionate Java developer eager to explore and share insights on diverse programming paradigms, tools, and practices. I actively encourage my readers to join me in meaningful discussions, allowing us to learn from each other's perspectives. Beyond work, I love staying active through sports, hiking, and traveling, and I've recently switched from long-distance running to the thrill of rock climbing.
Here's what I've written (so far):
Baeldung on Java
- All
- Testing (10)
- Data (7)
- Architecture (7)
- Reactive (5)
- Spring WebFlux (4)
- Spring Data (4)
- Persistence (4)
- Spring Boot (3)
- Spring (3)
- Maven (3)
- Java Streams (3)
- Java Concurrency (3)
- Docker (3)
- Java (2)
- Web Services (1)
- Spring Web (1)
- Spring AI (1)
- Java Dates (1)
- Java Collections (1)
- Jackson (1)
- JSON (1)
- DevOps (1)
- Core Java (1)
- Artificial Intelligence (1)
A Guide to @Timeout Annotation in JUnit 5
Filed under Testing
Explore JUnit5’s new @Timeout annotation.
Difference Between Fluent Interface and Builder Pattern in Java
Filed under Java
Discover the differences between the fluent interface design pattern and the builder pattern.
Anemic vs. Rich Domain Objects
Filed under Architecture
Explore the differences between anemic and rich domain models in Java.
JUnit 5 @Nested Test Classes
Filed under Testing
Learn about JUnit 5’s @Nested annotation.
Extracting a Custom Header From the Request
Filed under Spring Web
Learn various ways of extracting the request headers for a Spring application.
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, Spring WebFlux
Explore various ways of accessing the first element of a Flux.
Baeldung on Kotlin
- All
- Testing (1)
- Kotlin Strings (1)
- Kotlin Numbers (1)
- Kotlin Basics (1)
- Kotlin Arrays (1)
A Guide to Property-Based Testing in Kotlin
Filed under Testing
Learn about property-based testing in Kotlin.
Convert an Array to a String
Filed under Kotlin Arrays, Kotlin Strings
Learn how to convert an Array’s content to a String in Kotlin.
The ..< Operator for Open-ended Ranges in Kotlin
Filed under Kotlin Basics
Learn about the new Kotlin operator
Converting an Int? to an Int in Kotlin
Filed under Kotlin Numbers
Learn how to extract a value of a nullable variable.
Baeldung on SQL
- All
- Database Concepts (1)
Multiple Indexes vs. Multi-Column Indexes
Filed under Database Concepts
Explore database indexes, focusing on the differences between individual and composite indexes.