-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate Filters
PostPosted: Sat Dec 16, 2006 12:09 am 
Beginner
Beginner

Joined: Thu Jun 23, 2005 10:23 pm
Posts: 22
Version3. Is it possible to define multiple different filters in a mapping file?

Should something like this work?

.
.
<filter name="effectivity"/>
<filter name="effectivityAsOf" condition=":asOfDateParam=nvl(effective_end,'01-JAN-1001')"/>
</class>

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 9:38 am 
Senior
Senior

Joined: Sat Nov 27, 2004 4:13 am
Posts: 137
you could have tested it yourself if you typed what you typed in your browser in your IDE!!

_________________
don't forget to credit!

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


Top
 Profile  
 
 Post subject: Hibernate Filters
PostPosted: Mon Dec 18, 2006 1:18 am 
Beginner
Beginner

Joined: Thu Jun 23, 2005 10:23 pm
Posts: 22
I initally had some trouble - found out this is possible and works fine. Thanks.


Top
 Profile  
 
 Post subject: Multiple filter-def entries?
PostPosted: Mon Jul 02, 2007 2:40 am 
Newbie

Joined: Fri Jun 29, 2007 12:06 pm
Posts: 4
Hi,

I tried to use multiple filter-def entries inside my mapping, but it sems not to be possible at all, am I right?

How could I do something simular?

Lukas


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