Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Navigation from valuetype to entitytype is possible and vice-versa is not possible ?

 
Sagar Shroff
Ranch Hand
Posts: 209
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all ranchers , as i was reading Java Persistence with Hibernate in Chapter : Hibernate Type System , i came across topic which was discussing entity and value types.
The topic mentioned that navigation from value type to entity type is possible but vice-versa is not possible. I took an example of a User(EntityType) and Address(ValueType),
so a User entity has an Address. So according to this example i can in fact navigate from a user to its address which conflict with the above statement. Can someone please help me
in understanding this topic by giving me a small example ? Will be really appreciated.

Regards,
Shroff.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic