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?
|
|