1. How can I inherit Hibernate filters with annotations? stackoverflow.comI'm trying to set up a Hibernate filter with annotations. I would like to specify it in a base class and make all sub classes use it but whenever I try ... |
2. Filtering a collection using the @Filter hibernate annotation in java stackoverflow.comI have two hibernate mapped entities A and B. A has 2 collections of entity B and I would like to filter each collection based on a property held in ... |
3. Create filter programmatically (no annotations, no xml)? forum.hibernate.orgHi all, I'm developing an application in which I want to create Hibernate filters programmatically. It it possible to do this directly in code? -- I've been up and down through the documentation, but I cannot find anything that smells a bit like this.... I don't think Criteria queries can be used in my setup, since I want to narrow down ... |
4. a question about using annotations to filter collections forum.hibernate.org |
5. Filter and FilterDefs annotation forum.hibernate.orgHi, I would like to clarify few finding. 1. It's true when define Filter, it's required to define FilterDefs? There's scenario that i does't required any parameter, because the filter it's self is sufficient. eg: filterName="filter1" condition="ID in (select id from table1"), filterName="filter2" condition="ID in (select id from table2)" 2. It's true when define a Filter, filter name should not contain ... |