2 Replies Latest reply on Mar 8, 2008 10:54 PM by pete007

    Using filters in getResultlist()

      Hello,


      I can't find an example, where filters/restrictions are used. I want to show a user only items, which have an attribute that matches his username. I want to do something like:


      #{ identity.username == item.owner }



      I remember some example or a passage in the hibernate book, where something similar was done, but I cannot find either, so please give me a little push in the right direction.


      Thanks, Peter