We're updating the issue view to help you get more done. 

Better document AuditReader#getEntityName() as throwing an exception rather than it returning null.

Description

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

Environment

None

Status

Assignee

Chris Cranford

Reporter

Chris Cranford

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Trivial