-1

I want to see the full code, but I don't want to hand write the mapping. I don't want to minify or hide the pojo mapping (I know tools like lombok will do this for me).

  • Eclipse might have something similar to this: In NetBeans I can define fields then chose to auto-generate the setters and getters. I think that's what your looking for (it makes actual source code, not generates them through some extra process). See if the IDE has a menu to auto generate code, it might be there. – markspace Oct 01 '18 at 16:48
  • What do you mean by "POJO mapping"? If you mean getters and setters, see https://stackoverflow.com/questions/7221691/is-there-a-way-to-automatically-generate-getters-and-setters-in-eclipse – JB Nizet Oct 01 '18 at 19:01

1 Answers1

0

Are you talking about mapping two similar beans, for example your DTOs to your Spring entities? If so I'd say look into Dozer.

John M
  • 310
  • 4
  • 15