-->
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: ignore hibernate filters for under lying objects.
PostPosted: Mon Sep 17, 2012 5:26 am 
Newbie

Joined: Fri Mar 23, 2012 5:22 am
Posts: 2
i am using hibernate 4.1.0 final and jpa and using filter to get the filtered objects. but there is one issue with it.
there is customer object and customer relationship object. customer relation defines a relation with another customer.
classes look like :
Customer{
String id;
CustomerRelationship customerRelationships;
}
CustomerRelationship {
Customer customer;
Customer relatedCustomer;
String relationship;
}
i applied filter on customer object and retrieve the customer relationships. since Customer object is also there in customerrelationship, i think the filter is also applied to it. is there any using annotations to disable the filter or any other solution.


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.