JpaConfig improve