extracted jpa config into persistence.xml