Skip to content

Commit

Permalink
Merge pull request la-team#169 from Linsy/fix/compatibility_envers_au…
Browse files Browse the repository at this point in the history
…dited

Fix/compatibility envers audited
  • Loading branch information
max-dev committed Dec 16, 2014
2 parents 766c333 + 1fef71a commit 219a7ea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ private Set<ConfigurationUnits> configurationUnits(WebApplicationContext rootCon
private Iterable<Class<?>> managedEntities(EntityManager entityManager) {
Set<Class<?>> managedEntities = newHashSet();
for (EntityType<?> entity : entityManager.getMetamodel().getEntities()) {
managedEntities.add(entity.getJavaType());
if (entity.getJavaType() != null)
managedEntities.add(entity.getJavaType());
}
return managedEntities;
}
Expand Down

0 comments on commit 219a7ea

Please sign in to comment.