title: Hibernate Adding where clause on one-to-many mapping
body: <p>I have this set on my .hbm file.</p>
  
  <pre><code>&lt;set name="subTopicsTb" table="subtopics_tb" inverse="true" lazy="false" fetch="select"&gt;
          &lt;key&gt;
              &lt;column name="topic_id" /&gt;
          &lt;/key&gt;
          &lt;one-to-many class="com.topics.model.SubTopics" /&gt;
      &lt;/set&gt;
  </code></pre>
  
  <p>now, the default is that, hibernate get's all subtopics where the topic_id is the id.
  i want to filter the subtopics. adding something like where subTopics.date is not null thanks</p>