Hi all,
I am getting the following error, when I use list in the --.hbm.xml file
2007-09-25 16:46:05,203 ERROR [org.springframework.web.servlet.DispatcherServlet] - Could not complete request
javax.servlet.ServletException: Error occured during request processing: Java heap space
This mapping is for parent table:
<list name="child" cascade="save-update" inverse="true">
<key column="BNo" not-null="true"/>
<index column="SlNo" />
<one-to-many class="Child"/>
</list>
This mapping is for child table:
<many-to-one name="parent" class="Parent" column="BNo" not-null="true"/>
It works fine with set.
I have posted the similar thread in spingforum, but couldn't get any solution. Is this error related mapping. I get this error only when I use list in mapping. Rest everything works fine.
Any advice from you all is appreciated.
Thanks in advance.
|