-->
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: Filter on a joined Table
PostPosted: Tue Mar 12, 2013 1:06 pm 
Newbie

Joined: Tue Mar 12, 2013 12:58 pm
Posts: 1
Hi everybody, I had a look at the old topics but nothing satisfied my question..

I have an entity (let's call it A) which I'm retrieving using:

hibernateTemplate.findByCriteria(A.class)
.add<list of restrictions>
)

Now it came up that I have to sort of "filter" the results, so I have to get this A entities if and only if they're joined with a table (let's call it B), and B satisfies some requisites, but in the end I don't really have to return anything from B.

Could someone help me please?


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.