Adam Warski commented on Bug HHH-5565

+1 for throwing an exception. Such code indicates incorrect Hibernate/Envers usage.

Also +1 for extracting the actual check to a method so that the code isn't repeated

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira