fix for javax.persistence and javax.validation
Merge pull request #2454 from publicocean0/develop

fix for javax.persistence and javax.validation