I have a entity user with self dependency. When i Map this entity to DTO I have the problem of circular dependency. . User.class: UserMapper method ...
I have a entity user with self dependency. When i Map this entity to DTO I have the problem of circular dependency. . User.class: UserMapper method ...
I am new to NestJS as a server. I have a table in DB that I am querying, and the column name is precedence, and it is boolean meaning in DB just 0 or ...
Getting a null pointer because Mapper interface not instantiated for Junit Not sure how to fix. Example code bellow, @Autowired private Mapper mapper ...
I'm trying to make an automatic mapper, but I'm having a problem with an Enum inside my DTO. In my @mapper class, I want everything to be automaticall ...
I come here because i dont find the answer online :/ I would like to test my configuration of Mapster to avoid miss mapping which happens at developp ...
I want to customize JavaScriptSerializer().Serialize by adding mapping. Make it clear: Think we have class:(as it comes from other library I can't mo ...
Here is a code snippet: Source: Target: Error in console: Can't map property "String buyerInfo.primaryMembershipID" to "UUID buyerInfo.id". Co ...
I created dto class: I need mapping datas from class One to MainDto but I do not know how. I added class tmp: And I tried use converter in map ...
I'm trying to represent an international address in a class object using MapStruct that maps it from a PDF form. The address will have a country, if ...
I have a Java class and i want to serialize it into CSV using jackson. In addition i want to exclude from the csv a single field base on a external pr ...
I wonder if exists a quick way to deserialize a list of objects into a list of fields from that object? I have such object: And I have a json: ...
I'm trying to do this query: SELECT * FROM Machine WHERE KlantId = [Id from url] in c# but its returing only 1 row when it should be 2 rows. I manualy ...
I have this mapper: Whenever I execute it, it throws BadSQLGrammarException: What could be the problem? I can't figure out where does the syntax ...
I am using Keycloak 18.0.2. Okta is one of my configured Identity Providers. I am using the OIDC provider (not SAML). I want to map the incoming group ...
I have asp.net core project with Onion architecture.I need to put a custom Mapper, for mapping entities in DTO and vice versa, DTO in ViewModels(Model ...
If a have an anonymous class like: and call the result would be And it's like this for all variables that begin with "is_". Why? Correction, ...
I'm learning spring boot and am working on a toy project - a registration page. I have a UserMapper interface that interacts with MySQL and it looks ...
Do you know why when debbuging my app the order of the attributes of my address object is changed? I need to check it the address stored in the databa ...
I am new to mapsturct I just want to map between dto to entity those two; my bank class; my bank dto class; my mapper below; ...
I'm working on a backend for a web application in Java (using Spring) und try to use the builder pattern. I have the classes Example (as a Data ob ...