-->
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: Virtualization not available for Subclasses?
PostPosted: Wed Feb 02, 2005 7:33 pm 
Expert
Expert

Joined: Sat Jan 17, 2004 2:57 pm
Posts: 329
Location: In the basement in my underwear
It would appear that Virtualization (aka filters) are not getting applied if you are using a subclass tag and load up objects based on your subclass.

i.e. I have a Class called Cat which is a subclass of Animal.

In Animal I have a filter condition where "age > 3".

If I create a criteria based on Cat.class and execute a query the filter doesn't get applied.

However, if I create a criteria based on Animal.class where type='Cat' the filter does.

The filter tag also does not appear in the configuration dtd, is this by design?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 02, 2005 8:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
http://opensource.atlassian.com/project ... se/HHH-123


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 03, 2005 10:57 am 
Expert
Expert

Joined: Sat Jan 17, 2004 2:57 pm
Posts: 329
Location: In the basement in my underwear
LOL, thanks Gavin. I didn't want to post to JIRA until I could confirm that there wasn't some reason behind it. As a developer nothing makes me froth more than receiving a bug that really isn't. :D


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.