Skip to content

Commit

Permalink
HSEARCH-3667 avoid to handle Hibernate Envers DefaultRevisionEntity.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdh committed Aug 26, 2019
1 parent f100d08 commit 8271476
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public static HibernateOrmBootstrapIntrospector create(Metadata metadata,
Collection<PersistentClass> persistentClasses = metadata.getEntityBindings()
.stream()
.filter( PersistentClass::hasPojoRepresentation )
.filter( persistentClass -> "org.hibernate.envers.DefaultRevisionEntity".equals( persistentClass.getClassName() ) )
.collect( Collectors.toList() );
Map<Class<?>, HibernateOrmBasicTypeMetadata> typeMetadata = new HashMap<>();
collectPersistentTypes( typeMetadata, metadata.getEntityBindings() );
Expand Down

0 comments on commit 8271476

Please sign in to comment.