-->
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: fetch="select" problem in Hibernate 3.2 on many-to
PostPosted: Fri Sep 28, 2007 5:20 am 
Newbie

Joined: Thu Apr 26, 2007 9:42 am
Posts: 14
Hi,
I have a class with many-to-one relations included.
In Hibernate 3.1rc2 Hibernate generates sequential selects to retrieve the many-to-one relations (without having fetch="select" for these many-to-one relations).
When trying to migrate to Hibernate 3.2.2 or 3.2.5 (I have tried both) Hibernate generates a single select with inner joins to retrieve the object and all associated many-to-one relations (even if an explicit fetch="select" was added on relations). That produce a DB2 error:"The statement include to many columns, more than 1012, and I have 1169". If Hibernate would generate sequential selects, the problem would be resolved.

Thanks, Cristian.


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.