-->
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: Filtering on attribute of a parent of a mapped class
PostPosted: Fri May 17, 2013 10:03 am 
Newbie

Joined: Fri May 11, 2012 5:55 am
Posts: 4
Hi all,

I have an application that uses class inheritance (JPA) and Filters. The filter uses a field of the parent (super class) so that I don't have to define this field for every subclass. This was working nicely until recently I tried upgrade to 4.2.1.Final. The filter no longer uses the attribute from the parent class, but tries to find it of the subclass (which fails). It seems to have something to do with the improvement implemented in version 4.1.5.SP1 of the Core, see: https://hibernate.atlassian.net/browse/HHH-2394

My question is: was I using a feature (bug) that has now been fixed, or should it still be possible to filter on the super class?

Thanks in advance,

with kind regards,

Hidde Boonstra.


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.