How I Made My Spring Boot DTOs Immutable Using Java Records and ModelMapperThe Journey from Mutable DTOs to Immutable Java Records As a Java developer, I'm always looking for ways to improve my code quality. Recently, while working on a Spring Boot REST API, I came across an intriguing blog post: DTOs must be immutable. Thi...Feb 16, 2025 · 3 min readniazbinsiraj.hashnode.dev
The Tale of an Enum and a BeanPropertyRowMapper: A Spring Developer's QuestIt was a quiet afternoon in my coding world when a peculiar bug showed up. I was working on a Spring-based web application, mapping database records to Java objects using BeanPropertyRowMapper. Everything seemed routine—until an enum property decided...Dec 16, 2024 · 3 min readniazbinsiraj.hashnode.dev