In the world of Spring Boot applications, data modeling plays a crucial role and JPA @Enumerated is here for that. JPA provides an elegant way to map Java classes to database tables, while the @Enumerated annotation empowers you to seamlessly represent enumerations as database columns. This article delves into the […]
Tag: spring-boot
ModelMapper for simple mapping of objects
Today we will see how to implement a ModelMapper that allows us, for example, to transform an object with many properties into a smaller object with fewer properties. This transformation can be useful when we need leaner objects, perhaps in a list, or when we want to expose only some […]