| Hi! Depending on the purpose you could use the custom aud-columns like this: You could override AuditStrategy#addEntityAtRevisionRestriction and add a where-clause to the root-parameters. queryBuilder.getRootParameters().addWhereWithParam("foo", "<>", "bar"); Or for a custom column "foo" you implement FooPropertyNameGetter and query like this: AuditReaderFactory.get(em).createQuery().forRevisionsOfEntity(..).add(new SimpleAuditExpression(null, new FooPropertyNameGetter(), "bar", "=")).getResultList(); Or you use external native queries. |