From 4a787e83422f93414af94f350e2851c9927b498f Mon Sep 17 00:00:00 2001 From: Wynn Teo <49014791+wynnteo@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:07:04 +0800 Subject: [PATCH] Bael 5911 hf (#16417) * BAEL-7490 read write file in separate thread * Change the to try resources * Update the code to sync with article * update class name to LiveTest --- ...toryIntegrationTest.java => MyEntityRepositoryLiveTest.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename persistence-modules/spring-data-jpa-query-4/src/test/java/com/baeldung/spring/data/jpa/getnextseq/{MyEntityRepositoryIntegrationTest.java => MyEntityRepositoryLiveTest.java} (96%) diff --git a/persistence-modules/spring-data-jpa-query-4/src/test/java/com/baeldung/spring/data/jpa/getnextseq/MyEntityRepositoryIntegrationTest.java b/persistence-modules/spring-data-jpa-query-4/src/test/java/com/baeldung/spring/data/jpa/getnextseq/MyEntityRepositoryLiveTest.java similarity index 96% rename from persistence-modules/spring-data-jpa-query-4/src/test/java/com/baeldung/spring/data/jpa/getnextseq/MyEntityRepositoryIntegrationTest.java rename to persistence-modules/spring-data-jpa-query-4/src/test/java/com/baeldung/spring/data/jpa/getnextseq/MyEntityRepositoryLiveTest.java index 3444bbbd49..d2348c5108 100644 --- a/persistence-modules/spring-data-jpa-query-4/src/test/java/com/baeldung/spring/data/jpa/getnextseq/MyEntityRepositoryIntegrationTest.java +++ b/persistence-modules/spring-data-jpa-query-4/src/test/java/com/baeldung/spring/data/jpa/getnextseq/MyEntityRepositoryLiveTest.java @@ -12,7 +12,7 @@ import org.springframework.test.context.jdbc.Sql; @SpringBootTest @ActiveProfiles("test") @Sql(scripts = "/testsequence.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) -public class MyEntityRepositoryIntegrationTest { +public class MyEntityRepositoryLiveTest { @Autowired private MyEntityRepository myEntityRepository;