Should'nt he just use a detachable model?

Bruno Borges wrote:
With Ajax request I would probably avoid that pattern.
That could lead to serious problems.

How about having a different method to load the object with the required
data for that specific ajax request?

cheers,
Bruno Borges
blog.brunoborges.com.br
+55 21 76727099

"The glory of great men should always be
measured by the means they have used to
acquire it."
- Francois de La Rochefoucauld


On Fri, Nov 7, 2008 at 1:27 PM, miro <[EMAIL PROTECTED]> wrote:

I am using hibernate and all my collections are lazy  , they get loaded
only
when called . I am also using ajax to get collection property on click ,
but
i am getting Lazy loading exception  for ajax  request where I load the
collection ,  I am using
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter  ,Please
help me    how to use OpenSessionInViewFilter    with ajax calls ?
--
View this message in context:
http://www.nabble.com/ajax-request-and-hibernate-lazy-loading-tp20387124p20387124.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to