Crog/jpa config update

A new PR against master instead of old gutterball-hibernate branch.

Old PR is #750
It does not. Forgot to revert this with the other stuff.