jpa config split into 2 pieces