I am trying to define xml mapping for a Map<String,String>
field.
The entity class cannot be modified so I am using the XML variant of JPA mapping, but cannot figure out the proper syntax.
Can someone explain how to write the JPA xml for this case - or explicitly state that this is impossible with xml but possible with annotations as mentioned in Storing a Map<String,String> using JPA ...
I will even appreciate to know that this is impossible - ideally when it comes with reference to the part of specification that states it.