Skip to content

Commit 74e286d

Browse files
author
Nikita Konev
committed
add text
1 parent 709bc3a commit 74e286d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

readme.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
Intro https://spring.io/blog/2018/09/17/introducing-spring-data-jdbc
22
Adapted example from [here](https://javabydeveloper.com/spring-data-jdbc-many-to-many-example/)
3-
Many-To-many https://spring.io/blog/2018/09/24/spring-data-jdbc-references-and-aggregates
3+
Many-To-many https://spring.io/blog/2018/09/24/spring-data-jdbc-references-and-aggregates
4+
5+
6+
> As repository is a concept derived from Domain Driven Design, thinking about database tables is the wrong approach. By definition you access aggregate roots from a repository. Effectively a repository is simulating a collection of these.
7+
8+
[Stack Overflow](https://stackoverflow.com/questions/21265262/are-you-supposed-to-have-one-repository-per-table-in-jpa)

0 commit comments

Comments
 (0)