@EmbedMap only works with String keys, and it works by creating an property on the entity that looks like "foo.bar.yourkeyhere". It's not a very sophisticated mechanism.
What exactly are you trying to do? You may also wish to consider the Mapify annotation and an embedded collection.