A Repository as defined in Domain Driven Design manages a single Aggregate. An aggregate may contain many entities, and value objects, but will have a single object as its root. Many of the Dao and even now some of the Repository implementations I see do not follow this, they are more likely to have a Repository per entity, than a Repository per aggregate, and of course in some cases this is required for various reasons.
Posts with the tag spring data:
Spring with Spring Data is awesome. Seriously, I’ve never been able to throw up a full HATEOAS REST web service this
fast. To start, I’ll admit my headliner lie, I’m not counting the