mploed / ddd-strategic-design-spring-boot

Application to demonstrate Domain Driven Design Context Mapping patterns based on Spring Boot
Apache License 2.0
342 stars 136 forks source link

Avoid mixing JPA and domain entities #10

Open olwulff opened 5 months ago

olwulff commented 5 months ago

Move jpa logic to dedicated infrastructure package.

This example is misleading as the domain entity is equal to a jpa entity.

https://github.com/mploed/ddd-strategic-design-spring-boot/blob/master/customer/src/main/java/com/innoq/mploed/ddd/customer/domain/Kunde.java