-->
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: is there any way to override a filter in a hiearchy?
PostPosted: Sun Dec 21, 2008 7:27 am 
Senior
Senior

Joined: Sat Nov 27, 2004 4:13 am
Posts: 137
Suppose:
- class A, and class B exist and B extends A
- both are mapped using annotations
- there is a filter annotation on A with QUERY1

is it possible to override the filter in class B (using the same name) with QUERY2?

so when enabling the same filter A is filtered with QUERY1 and B is filtered with QUERY2?

_________________
don't forget to credit!

Amir Pashazadeh
Payeshgaran MT
پايشگران مديريت طرح
http://www.payeshgaran.co
http://www.payeshgaran.org
http://www.payeshgaran.net


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.