mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-5839 - non-utf8 characters in AuditReaderImpl
This commit is contained in:
parent
04da27507e
commit
3fab254606
@ -280,11 +280,11 @@ public String getEntityName(Object primaryKey, Number revision ,Object entity) t
|
||||
entity = ((HibernateProxy)entity).getHibernateLazyInitializer().getImplementation();
|
||||
}
|
||||
if(firstLevelCache.containsEntityName(primaryKey, revision, entity)) {
|
||||
// it´s on envers FLC!
|
||||
// it's on envers FLC!
|
||||
return firstLevelCache.getFromEntityNameCache(primaryKey, revision, entity);
|
||||
} else {
|
||||
throw new HibernateException(
|
||||
"Envers can´t resolve entityName for historic entity. The id, revision and entity is not on envers first level cache.");
|
||||
"Envers can't resolve entityName for historic entity. The id, revision and entity is not on envers first level cache.");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user