create configuration with jpa