Hi Rich,
I think i am going totally astray in my approach, according to my understanding collections mappings are used to filter a collection of record-set returned from the database, for instance, if we have a collection of records fetched from a query say: select * from milestone.
i thought collection filters could be used for further filteration of recordset based on the WHERE clause. Is this achievable using collection filters?
Actually, the issue is that, i am using a method level interceptor to intercept methods (Spring Framework) defined at the DAO level, earlier i used filters using <filter></filter> in my mapping file and was able to filter records based on the value.
I was facing a problem with joins in filters i.e. using joins to other tables, so someone suggested me to use collection filters, in which i think it is possible to use joins and then apply filters after that. That is why i was trying to use filters. Can u plz help me, i've been trying since many days and not able to achieve.
Regards.
|