-->
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.  [ 4 posts ] 
Author Message
 Post subject: @Where annotation is not processed with "Extra-lazy" loading
PostPosted: Sun Jun 19, 2016 7:20 pm 
Newbie

Joined: Sat Feb 27, 2016 1:47 am
Posts: 16
Hello, I've come across this bug in my application using Hibernate 5.1.0.FINAL, in which my collection annotated with @LazyCollection(LazyCollectionOption.EXTRA), ignores the @Where clause. So calling collection.size() returns an incorrect or unexpected value

This seems to be a known issue, reported 8 years ago, but with no progress:

https://hibernate.atlassian.net/browse/HHH-3319

So I'm wondering what the status of this might be, and if we can get it bumped up in priority?

Thanks


Top
 Profile  
 
 Post subject: Re: @Where annotation is not processed with "Extra-lazy" loading
PostPosted: Mon Jun 20, 2016 4:34 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
We don't have many resources, so we need to prioritize all the issues.
If you really need this one fixed, I suggest you provide a fix in a Pull Request and I'll integrate it for you.


Top
 Profile  
 
 Post subject: Re: @Where annotation is not processed with "Extra-lazy" loading
PostPosted: Tue Jun 21, 2016 1:15 am 
Newbie

Joined: Sat Feb 27, 2016 1:47 am
Posts: 16
Thanks, I have created https://github.com/hibernate/hibernate-orm/pull/1435


Top
 Profile  
 
 Post subject: Re: @Where annotation is not processed with "Extra-lazy" loading
PostPosted: Tue Jun 21, 2016 2:21 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
Thanks, I'm going to review it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.