4 ms·
Where does JPA fit into Clean Architecture? Seems like annotation-based persistence straddles several boundaries, or else you code your entities multiple times
by jrabone 13y ago
Where does JPA fit into Clean Architecture? Seems like annotation-based persistence straddles several boundaries, or else you code your entities multiple times as both "real" entities and DTOs.
- mattgreenrocks 13y agoThere's still coupling, which may or may not hamper isolated testing. So it is a bit less pure, but perhaps much easier to sell.