About 50,500 results
Open links in new tab
  1. What does mapping mean in programming? - Software …

    The programming uses of the verb "map" and the noun "mapper" are largely unrelated to their common uses in English, so this is a very understandable question. The programming use is …

  2. Is "Mapper" a valid design pattern or is it a variation of the …

    The Mapper is essentially a constructor inside out. Suppose for a while, if you don't have a Mapper - when you need many seta of parameters they are all arguments on the constructor. …

  3. java - Best way to handle lazy models with mapstruct and spring ...

    Jan 5, 2021 · But here the problem, When mapper starts to convert Engine it will get LazyInitializationException since transaction was already committed and closed in service and …

  4. java - Should I mock ObjectMapper in my unit tests? - Software ...

    Sep 29, 2020 · It could be replaced with a custom mapper later. When testing the OP's methods I don't think that the call to the mapper matters, what I care about is that the result of the …

  5. How do Repository and Data Mapper patterns work together?

    Jun 28, 2023 · Data Mapper, presumably, has the standard "CRUD" interface, and nothing else. But this suggests a problem. How do you implement the query methods of the Repository? In …

  6. architecture - Should I strictly use both DTOs and models in …

    Jan 2, 2024 · The problem is if I follow this approach I will have to then write mapper also for all the DTO to model classes which seems unnecessary effort. I can easily achieve everything …

  7. Null or empty object when LINQ to Entities query returns nothing

    Jul 8, 2017 · 2 Say I have a LINQ query like this: application = CreditDatabase .Applications .Select(Mapper.Map<Application>) .Where(c => c.uID == urID) .DefaultIfEmpty().First(); It …

  8. c# - Best approach to map user roles dynamically in ASP.NET Core ...

    Oct 11, 2024 · I'm working on an ASP.NET Core application that uses Identity for user management. I have an AccountService with a Register function, where I accept a …

  9. What is the point of using DTO (Data Transfer Objects)?

    Oct 26, 2012 · What is the point of using DTO and is it an out dated concept? I use POJOs in the view layer to transfer and persist data. Can these POJOs be considered as an alternative to …

  10. Best practice for references in DTOs and entities in Spring

    May 13, 2020 · 0 Given the following architecture and frameworks: Spring Boot Application with Spring Data JPA (Hibernate is used as OR mapper); layered architecture as followed. REST …