-->
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: ORA-01000 Maximum open cursors exceeded
PostPosted: Tue Mar 27, 2012 8:10 pm 
Beginner
Beginner

Joined: Mon Dec 21, 2009 3:43 pm
Posts: 24
I am trying to do a recursive fetch join as indicated http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/queryhql.html.

Quote:
from Cat as cat
inner join fetch cat.mate
left join fetch cat.kittens child
left join fetch child.kittens


But when I do so I get the following error;
ORA-01000 Maximum open cursors exceeded.

The only thing I have been able to find that looked like it might work is setting the following property:
Code:
<property name="statement_cache.size">0</property>


Unfortunately that did not have any effect as I am still seeing the problem.

Anyone else have any other ideas?


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.