-->
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.  [ 3 posts ] 
Author Message
 Post subject: bug:subquery with filter
PostPosted: Wed Feb 21, 2007 12:24 am 
Newbie

Joined: Fri Sep 22, 2006 3:04 am
Posts: 5
hello,when i use subquery with a filterd class,
the order of parameters are massped up...

for example:
select a from A a where a.IsDeleted=:IsDeleted and a in (select ba from B b where b.CreateDate=:CreateDate).
the result is that @p0 is always CreateDate, and @p1 is IsDeleted
because nhibernate always process the filter first...

i hope someone can fix this bug,i am waiting
or just tell this is not recommended to use subquery with filterd class.
so what is the best practice?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 21, 2007 2:56 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Please report this to JIRA with a test case so we can reproduce the bug.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 11:24 am 
Expert
Expert

Joined: Thu Dec 14, 2006 5:57 am
Posts: 1185
Location: Zurich, Switzerland
Has anything happened on this issue ? I ran into the same problem with 1.2.1-GA. I tried to look for a corresponding JIRA issue, but JIRA seems to be down. I can provide a test case if necessary.

Best Regards,
Wolfgang


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.