The {{AuditReader#getEntityName()}} java-doc clearly states that the method returns null if the entity-name cannot be determined; however in practice it throws a {{HibernateException}}.
Update the java-doc to clarify the excepted outcomes.
Originated from this discussion: https://stackoverflow.com/questions/49168452/hibernate-envers-how-to-get-entity-name/49181815#49181815 |
|