From dc44ef93788e96d01e1145648bb9dd80f973da4d Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Thu, 12 May 2016 10:39:25 -0500 Subject: [PATCH] HHH-8070 - Updated documentation to reflect the 'in' operator usage. --- .../src/main/asciidoc/userguide/chapters/envers/Envers.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/src/main/asciidoc/userguide/chapters/envers/Envers.adoc b/documentation/src/main/asciidoc/userguide/chapters/envers/Envers.adoc index 576344d875..738c83712f 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/envers/Envers.adoc +++ b/documentation/src/main/asciidoc/userguide/chapters/envers/Envers.adoc @@ -468,6 +468,8 @@ And to select only entities that are related to a given entity: query.add( AuditEntity.property( "address" ).eq( relatedEntityInstance ) ); // or query.add( AuditEntity.relatedId( "address" ).eq( relatedEntityId ) ); +// or +query.add( AuditEntity.relatedId( "address" ).in( relatedEntityId1, relatedEntityId2 ) ); ---- You can limit the number of results, order them, and set aggregations and projections (except grouping) in the usual way.