4.1 HHH-7714

Fix to enable EntityMode.MAP in the JPA implementation.