• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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.
 
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic