spring data jdbc

Edit

https://stackoverflow.com/questions/4919687/aggregate-root-references-other-aggregate-roots?noredirect=1&lq=1

It makes life much easier if you just keep a reference of the aggregate’s ID rather than the actual aggregate itself.