HHH-7714 added unit tests and sample code for JPA/Critera/EntityMode.MAP