Spring Data JDBC - Conclusion



The concept of repository, aggregate, and aggregate root has been taken from the Domain− Driven Design (DDD), and all the Spring data modules are inspired by these concepts. Spring Data JDBC forces us to think of the persistence stuff w.r.t aggregate root principle of DDD. Since Spring Data JDBC doesnt support one to Many and Many to Many relationships other than ids, and it always forces us to think about aggregates, which is one of the major strengths of Spring Data JDBC.

Advertisements