0 Replies Latest reply on Oct 28, 2014 11:07 AM by sfalise

    Audit query using Set property

    sfalise

      I have an audited class A which has a Set of B:

       

      @Audited

      class A {

           Set<B> bees;

      }

       

      @Audited

      class B {

           String name;

      }

       

      I would like to call forRevisionsOfEntity("A", false, true).add(AuditEntity.property("bees").PROPERTY("NAME").eq("somestringvalue"));

       

      {{The right side of the above call is fictional, just trying to demonstrate what I'm trying to do}}

       

      Is there any way to filter on a value in the bees set to return those entries in the A_AUD table which have a bees set which contains a particular value?