Community
Participate
Working Groups
EclipseLink: trunk (2.3) JDK: 1.6.0_23 DB: Oracle 11.1.0.7 When set "clipselink.weaving.fetchgroups=false", and all other options keep default level. Most tests in JPA-SRG (org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite) failed since testSetup failed with the following error: Stack Trace: ------------ Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.IntegrityException Descriptor Exceptions: --------------------------------------------------------- Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.HockeyGear) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.HockeyGear --> [DatabaseTable(JPA_HOCKEY_GEAR)]) Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.ChestProtector) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.ChestProtector --> [DatabaseTable(JPA_HOCKEY_GEAR), DatabaseTable(JPA_CHEST_PROTECT)]) Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.Pads) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.Pads --> [DatabaseTable(JPA_HOCKEY_GEAR), DatabaseTable(JPA_PADS)]) Runtime Exceptions: --------------------------------------------------------- javax.persistence.PersistenceException: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.IntegrityException Descriptor Exceptions: --------------------------------------------------------- Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.HockeyGear) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.HockeyGear --> [DatabaseTable(JPA_HOCKEY_GEAR)]) Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.ChestProtector) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.ChestProtector --> [DatabaseTable(JPA_HOCKEY_GEAR), DatabaseTable(JPA_CHEST_PROTECT)]) Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.Pads) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.Pads --> [DatabaseTable(JPA_HOCKEY_GEAR), DatabaseTable(JPA_PADS)]) Runtime Exceptions: --------------------------------------------------------- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:423) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:185) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:242) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:230) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getServerSession(JUnitTestCase.java:393) at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSetup(EntityManagerJUnitTestSuite.java:414) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:503) Caused by: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.IntegrityException Descriptor Exceptions: --------------------------------------------------------- Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.HockeyGear) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.HockeyGear --> [DatabaseTable(JPA_HOCKEY_GEAR)]) Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.ChestProtector) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.ChestProtector --> [DatabaseTable(JPA_HOCKEY_GEAR), DatabaseTable(JPA_CHEST_PROTECT)]) Exception [EclipseLink-199] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.Pads) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.fetchgroup.Pads --> [DatabaseTable(JPA_HOCKEY_GEAR), DatabaseTable(JPA_PADS)]) Runtime Exceptions: --------------------------------------------------------- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:477) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:408) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:681) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:642) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:235) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:395)
See, https://bugs.eclipse.org/bugs/show_bug.cgi?id=341153 for diff
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink