The attached mapping file is also used in the unit test. It is a minimal dynamic model mapping. When trying to create an entity manager with envers enabled, an exception is thrown.