Exception with custom EnumType and Map relation

Test case MapKeyCustomEnumTypeTest