Blazebit
@blazebit
DTO is probably the most straightforward pattern in OOP. What could be the motives for using DTOs in our apps? How to create them properly? Is Spring Data Team #JPA projection a proper DTO? We’ll try to answer all these questions in the new JPA Buddy article: jpa-buddy.com/blog/entity-to….
/\/\/\/\/\/\/\/\/\ Petrus Binus MapStruct Adam Bien If fact, DTO is the way to declare what fields to transfer over the border and that's it. It is totally required to control data output, so adding a new field in an Entity will not hit the data you expose. You can use Spring Data Team Projections, Blazebit persistence, or smth else.
We just released #BlazePersistence 1.6.11 which contains an important security fix for Spring Data Team integration users. It is strongly advised to update or implement a mitigation. For further information, take a look into the release announcement: persistence.blazebit.com/news/2024/blaz…