HHH-7930 Hibernate will crash with (custom) enum types when running with a logback.xml in debug mode