title: Domain Driven Design and local identity in an aggregate
body: <p>In Domain Driven Design there is an Aggregate Root that has reference to internal entities.</p>
  
  <p>Aggregate Root is an entity with global identity (everyone able to use its id). Aggregate root has links to local objects (entities).</p>
  
  <p>Assuming here that Entities are the Hibernate @Entities (let's say)</p>
  
  <p>Let's say we have Aggregate Root "User" that has "Address" entity in it as an object (which is actually an entity as well) </p>
  
  <p>The question is:
  How is it possible to make local entities to be with local identity only. I mean, there is no any barriers that could prevent anyone to use local entities (like Address) by its IDs. (so then this identity is not local at all, but global). Then, what is the way to make it local?</p>