A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Object Relational Mapping
Joined: Jan 03, 2012
Jan 03, 2012 08:17:56
I am making one web application using
1.3 and hibernate I have changed not-null="false" in One to many relation in one class's hbm file, after that i got exception org.hibernate.LazyInitializationException
Joined: Mar 25, 2011
Jan 03, 2012 08:26:45
By default, hibernate uses lazy initialization.
Try adding lazy="false" to class declaration and check if it works.
If not, please post your mappings.
Using OpenSessionInViewFilter in Spring-Hib-Wicket
org.hibernate.Exception: could not initialize proxy - the owning Se
what is the solution for org.hibernate.LazyInitializationException?
What are the FetchType Lazy and Eager?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015