-->
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: version 3.1.3 vs. 3.2.5
PostPosted: Mon Feb 11, 2008 5:16 am 
Newbie

Joined: Wed Mar 08, 2006 8:11 am
Posts: 17
Location: Israel
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.2.5

I am trying to upgrade from version 3.1.3 to 3.2.5, and I am getting exceptions in BulkUpdates that are working fine in the old version (I am using Spring 2.0.8, with getHibernateTemplate().BulkUpdate() method).
I managed to narrow down the update query to something like

"update Person p set p.isWorking = true where p in (select Person p1 join p1.address where p.pk = 3)"

I know the inner select makes no sense, with the join not needed at all, and the where clause could have been on the outside with better results, but in my real query I need several of those joins, and even with one it doesn't seem to work anymore. I get a NullPointerException somewhere in the AST of the query.
Has anyone here noticed this kind of behaviour? Should I do my subselect in a different way?

Hope to get some advice here.
Thank you.


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.