[PLINK-502] - Improve validation of JPA mappings.