Top "Data-transfer-objects" questions

Map a dto to an entity retrieved from database if Dto has Id using MapStruct

I'm using MapStruct to make dto <-> entity mapping. The same mappers are used to create and update …

java mapping data-transfer-objects mapstruct
Why do transfer objects need to implement Serializable?

I realized today that I have blindly just followed this requirement for years without ever really asking why. Today, I …

java serialization data-transfer-objects
The meaning of API

Could anyone please tell me the meaning of API in following paragraph, that's actually about Transfer Object: If it's likely …

java api data-transfer-objects
Symfony2.1 - The option "em" does not exist when using DataTransformer

I am using this cookbook recipe to add a data transformer in Symfon 2.1, but I am getting the following error, …

symfony-2.1 data-transfer-objects
The DTO should not know the enum inside the business object

I have an enum in my business object defined. This enum is although defined in the data transfer object. The …

c# dto data-transfer-objects