-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: java heap space error
PostPosted: Thu Sep 27, 2007 12:57 am 
Newbie

Joined: Tue Sep 04, 2007 3:25 am
Posts: 1
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.