• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transitive Persistence ?

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is it?
 
Christian Bauer
author
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Transitive means that some state can cascade throughout your object graph. For example, if one object becomes persistent, some of the directly associated objects should also be made persitent. The same for delete, reattach to a persitence context (Session.update()), and other persistence manager operations. Hibernate has very fine grained transitive persistence features, an important aspect for an object/relational mapping tool.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Christian
 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Transitive Persistence - If object A is persisted and it refers to Persistent object B, then object B is automatically persisted. If Persistent object C also refers to B, the record for object B in the database is not duplicated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic