|
|
|
@ -24,7 +24,6 @@ import jakarta.persistence.PersistenceException;
@@ -24,7 +24,6 @@ import jakarta.persistence.PersistenceException;
|
|
|
|
|
import jakarta.persistence.Query; |
|
|
|
|
import jakarta.persistence.TransactionRequiredException; |
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
import org.junit.jupiter.api.condition.DisabledForJreRange; |
|
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.dao.DataAccessException; |
|
|
|
@ -34,7 +33,6 @@ import org.springframework.orm.jpa.domain.Person;
@@ -34,7 +33,6 @@ import org.springframework.orm.jpa.domain.Person;
|
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat; |
|
|
|
|
import static org.assertj.core.api.Assertions.assertThatExceptionOfType; |
|
|
|
|
import static org.assertj.core.api.Assertions.assertThatIllegalStateException; |
|
|
|
|
import static org.junit.jupiter.api.condition.JRE.JAVA_18; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Integration tests using in-memory database for container-managed JPA |
|
|
|
@ -43,7 +41,6 @@ import static org.junit.jupiter.api.condition.JRE.JAVA_18;
@@ -43,7 +41,6 @@ import static org.junit.jupiter.api.condition.JRE.JAVA_18;
|
|
|
|
|
* @author Juergen Hoeller |
|
|
|
|
* @since 2.0 |
|
|
|
|
*/ |
|
|
|
|
@DisabledForJreRange(min = JAVA_18, disabledReason = "These JPA tests don't pass on Java 18+") |
|
|
|
|
public class ContainerManagedEntityManagerIntegrationTests extends AbstractEntityManagerFactoryIntegrationTests { |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|