New posts for Spring and Hibernate

This commit is contained in:
2026-11-06 01:05:27 +05:30
parent 51913ad9d4
commit dc13293046
136 changed files with 5268 additions and 0 deletions
@@ -0,0 +1,10 @@
# Testing a generated mapper without Spring: Mappers.getMapper versus constructing the Impl
--- 1. Mappers.getMapper(...) ---
AddressMapper (no dependencies) : AddressMapperImpl
CustomerMapper (uses = {...}) : RuntimeException
root cause : java.lang.NoSuchMethodException: com.ankurm.mapstruct.mapper.CustomerMapperImpl.<init>()
--- 2. new CustomerMapperImpl(new AddressMapperImpl(), new OrderMapperImpl()) ---
no Spring, no reflection : Asha Mehta