[PLINK-436] - Identity.hasPermission(class, identifier) does not work with a JPA store.