Re: [Beankeeper-discussion] BeanKeeper instance identity.
Brought to you by:
demonsystem
From: Marcel S. <ma...@fr...> - 2011-12-09 20:08:12
|
On 09.12.11 21:03, Sergey Olefir wrote: > With Hibernate everything you load within the scope of one Session > (which for e.g. web application you'd usually set to span the entire > request processing) is guaranteed to have one Java instance per one > database object / row -- i.e. no matter how you load the object, it'll > resolve to the same Java instance. Right, as long as the session-scope is what you're after that's correct. I thought your requirement was to get the same object for consecutive requests, sorry. Cheers, Marcel -- Marcel Stör, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org |