-->
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.  [ 2 posts ] 
Author Message
 Post subject: 4.1.0.Beta5 MongoDB issue with setParameterList() and in
PostPosted: Thu Jul 17, 2014 10:00 am 
Newbie

Joined: Thu Jul 17, 2014 9:51 am
Posts: 2
setParameterList() doesn't seem to be working. I get no results when I do something like this:

createQuery("from Entity where someId in (:params)")
.setParameterList("params", <list of ids>).list();


However if I do a single value using 'in' it works, example:
createQuery("from Entity where someId in (:params)")
.setParameter("params", 10).list();

Thanks, Joel


Top
 Profile  
 
 Post subject: Re: 4.1.0.Beta5 MongoDB issue with setParameterList() and in
PostPosted: Mon Jul 21, 2014 5:05 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Hi Joel,

That's indeed something we've not yet implemented in Hibernate OGM. I've created https://hibernate.atlassian.net/browse/OGM-581 to track this. In case you'd like to help out with this let me know and I can give you some pointers to get started.

--Gunnar

_________________
Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.