• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 211
Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic