From 1bf0d395fd28763c9449b146d41d1fcb846ccd26 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 27 Feb 2018 12:20:46 +0100 Subject: [PATCH] DATAJPA-1105 - Polishing. Original pull request: #251. --- ...odelEntityInformationIntegrationTests.java | 3 +- src/test/resources/META-INF/persistence.xml | 42 ++++++++----------- 2 files changed, 19 insertions(+), 26 deletions(-) diff --git a/src/test/java/org/springframework/data/jpa/repository/support/EclipseLinkJpaMetamodelEntityInformationIntegrationTests.java b/src/test/java/org/springframework/data/jpa/repository/support/EclipseLinkJpaMetamodelEntityInformationIntegrationTests.java index bfc71ee15..231d057a6 100644 --- a/src/test/java/org/springframework/data/jpa/repository/support/EclipseLinkJpaMetamodelEntityInformationIntegrationTests.java +++ b/src/test/java/org/springframework/data/jpa/repository/support/EclipseLinkJpaMetamodelEntityInformationIntegrationTests.java @@ -74,8 +74,9 @@ public class EclipseLinkJpaMetamodelEntityInformationIntegrationTests * Ignored due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=531528 EclipseLink doesn't support * {@link javax.persistence.IdClass} referencing inner classes. */ - @Override @Ignore + @Test + @Override public void correctlyDeterminesIdValueForNestedIdClassesWithNonPrimitiveNonManagedType() {} @Override diff --git a/src/test/resources/META-INF/persistence.xml b/src/test/resources/META-INF/persistence.xml index 435b4f0df..c65bcfdcb 100644 --- a/src/test/resources/META-INF/persistence.xml +++ b/src/test/resources/META-INF/persistence.xml @@ -8,7 +8,7 @@ org.springframework.data.jpa.domain.sample.Account org.springframework.data.jpa.domain.sample.Address org.springframework.data.jpa.domain.sample.AnnotatedAuditableUser - org.springframework.data.jpa.domain.sample.AuditableRole + org.springframework.data.jpa.domain.sample.AuditableRole org.springframework.data.jpa.domain.sample.AuditableUser org.springframework.data.jpa.domain.sample.Category org.springframework.data.jpa.domain.sample.Child @@ -94,12 +94,8 @@ org.springframework.data.jpa.domain.sample.MailUser org.springframework.data.jpa.domain.sample.User org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$Sample - - org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithNestedIdClass - - - org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithIdClass - + org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithNestedIdClass + org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithIdClass true @@ -113,22 +109,18 @@ org.springframework.data.jpa.domain.sample.MailUser org.springframework.data.jpa.domain.sample.User org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$Sample - - org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithNestedIdClass - - - org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithIdClass - + org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithNestedIdClass + org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$EntityWithIdClass org.springframework.data.jpa.domain.sample.Dummy true - - - - - - - - + + + + + + + + org.apache.openjpa.persistence.PersistenceProviderImpl @@ -142,10 +134,10 @@ true - - - - + + + +