Top "Mapping" questions

Corresponding every element of a given set to a unique element of another set or it may refer to a process of creating data element mappings between two distinct data models (objects)

Mapping between two objects that contain a List using Orika

I am trying to use Orika to map between two objects that contain a List<...> where the List …

java list mapping orika
Proper way of using and testing generated mapper

Recently we encountered some conflict during the development of our system. We discovered, that we have 3 different approaches to testing …

java unit-testing mocking mapping mapstruct
exclude specific fields in mapstruct

While I am trying to create a mapper between two classes in mapstruct, I am getting a warning when I …

java mapping mapstruct
Difference between servlet/servlet-mapping and filter/filter-mapping?

As part of exploring/learning Struts2, JSP and Servlets, I see from here and there that servlets and servlets-mapping can …

java servlets struts2 mapping servlet-filters
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
Orika vs JMapper - how it works and a speed difference - why?

I have downloaded and testing these two mapping libraries. I wrote a program which has 100000 iterations and maps the beans …

java mapping orika
Hibernate: AnnotationException: Unknown mappedBy in ... referenced property unknown on reverse (mappedBy), bi-directional @OneToOne associations

I have the following simple design: (source: kawoolutions.com) That's basically a workaround for non-disjoint inheritance which JPA doesn't support. …

hibernate jpa mapping one-to-one bidirectional
OneToMany - what are the differences between join table and foreign key?

There is the possibility to disable the @OneToMany relationship join table with the @JoinColumn annotation. The default is a join …

mapping jpa-2.0 eclipselink one-to-many
Creating BizTalk map with multiple input schema

Is there anyway to create a BizTalk map with multiple input schema "from scratch" ? i.e. not creating an orchestration …

mapping biztalk
How to dynamically assign headers to a csv file using CsvMapper in Java

Can anyone help please? I am stuck on reading a csv file and serializing it onto a POJO. I am …

java csv mapping jackson-dataformat-xml