The moose likes Object Relational Mapping and the fly likes How to use session-per-conversation strategy in Hibernate ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "How to use session-per-conversation strategy in Hibernate ?" Watch "How to use session-per-conversation strategy in Hibernate ?" New topic
Author

How to use session-per-conversation strategy in Hibernate ?

Vishal Fichadiya
Greenhorn

Joined: Oct 07, 2008
Posts: 6
Hi guys,
I am new with the hibernate. I came across the strategy of session-per-request that what i am using in my company. But i want to know session-per-conversation strategy. I have gone through the understanding given in hibenate.org site but it find me difficult to understand specially how to implement it programmetically. Can you guys help me how to implement this strategy with a simpler example ?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4927

Howdy Greenhorn!

How long of a duration will your 'conversation' have? I'm curious.

Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
 
subject: How to use session-per-conversation strategy in Hibernate ?
 
developer file tools