small fix for JPA instance
Merge pull request #12 from Alexander-Dukhno/master

small fix for JPA instance