-->
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.  [ 5 posts ] 
Author Message
 Post subject: @Filter with @Inheritance(strategy = InheritanceType.JOINED)
PostPosted: Mon Aug 28, 2006 7:21 am 
Newbie

Joined: Wed May 24, 2006 10:31 am
Posts: 6
A filter "works" only if I place it in the hierarchy base class. Can I hook filters on subclasses?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 10:11 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
no but your filter can use any column

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 11:11 am 
Newbie

Joined: Wed May 24, 2006 10:31 am
Posts: 6
my filter can use any column in the same table. But It can not use joined table columns, can it?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 1:53 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
ah, yes you'll have to use a subselect, which might not be really efficient

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 3:14 pm 
Newbie

Joined: Wed May 24, 2006 10:31 am
Posts: 6
thanks, sometimes subselects are acceptable.


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