I'm pretty sure that the case described in https://hibernate.atlassian.net/browse/HHH-5393 can be used, you just have to replace `@MapKeyColumn(name="language")` with `@MapKey(name="language")`...