-->
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.  [ 2 posts ] 
Author Message
 Post subject: [EntityManager] Programmatically apply filter
PostPosted: Mon Jan 14, 2008 5:10 pm 
Newbie

Joined: Sat Nov 22, 2003 11:49 am
Posts: 11
Location: Minneapolis, Minnesota
Hibernate version:
hibernate-3.2.5-GA
hibernate-annotations-3.3.0.GA
hibernate-entitymanager-3.3.1.GA

Name and version of the database you are using:
Postgre 8.2.4
========================================

I am using JPA, and want to programmatically apply filters (defined by @FilterDef) to a given entity. How would I go about doing this?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 15, 2008 8:17 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
( (Session) em.getDelegate()).enableFilter()

_________________
Emmanuel


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