Spring Boot 2.5.x compatible updates in spring-data-jpa-repo

This commit is contained in:
Shashank 2021-10-14 20:09:00 +05:30
parent cd3868d863
commit 8c5391ca75
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ import com.baeldung.boot.domain.Location;
import com.baeldung.boot.domain.Store;
@RunWith(SpringRunner.class)
@DataJpaTest(properties="spring.datasource.data=classpath:import_entities.sql")
@DataJpaTest(properties="spring.sql.init.data-locations=classpath:import_entities.sql")
public class JpaRepositoriesIntegrationTest {
@Autowired
private LocationRepository locationRepository;