Community
Participate
Working Groups
EclipseLink: trunk (2.3) JDK: 1.6.0_23 DB: Oracle 11.1.0.7 When set "eclipselink.weaving.lazy=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-127] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The get method for the attribute [forcedProtected] does not return a ValueHolderInterface, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.OneToOneMapping[forcedProtected] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.cacheable.CacheableProtectedEntity --> [DatabaseTable(JPA_CACHEABLE_PROTECTED)]) Exception [EclipseLink-129] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The set method for the attribute [forcedProtected] does not take a ValueHolderInterface as its parameter, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.OneToOneMapping[forcedProtected] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.cacheable.CacheableProtectedEntity --> [DatabaseTable(JPA_CACHEABLE_PROTECTED)]) Exception [EclipseLink-127] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The get method for the attribute [directory] does not return a ValueHolderInterface, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[directory] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.inheritance.Vehicle --> [DatabaseTable(CMP3_VEHICLE)]) Exception [EclipseLink-129] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The set method for the attribute [directory] does not take a ValueHolderInterface as its parameter, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[directory] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.inheritance.Vehicle --> [DatabaseTable(CMP3_VEHICLE)]) Exception [EclipseLink-127] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The get method for the attribute [owner] does not return a ValueHolderInterface, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[owner] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.inheritance.Vehicle --> [DatabaseTable(CMP3_VEHICLE)]) Exception Description: The set method for the attribute [customer] does not take a ValueHolderInterface as its parameter, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[customer] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.xml.merge.relationships.Order --> [DatabaseTable(CMP3_XML_MERGE_ORDER)]) Exception [EclipseLink-127] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The get method for the attribute [item] does not return a ValueHolderInterface, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.OneToOneMapping[item] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.xml.merge.relationships.Order --> [DatabaseTable(CMP3_XML_MERGE_ORDER)]) Exception [EclipseLink-129] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The set method for the attribute [item] does not take a ValueHolderInterface as its parameter, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.OneToOneMapping[item] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.xml.merge.relationships.Order --> [DatabaseTable(CMP3_XML_MERGE_ORDER)]) Exception [EclipseLink-127] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The get method for the attribute [address] does not return a ValueHolderInterface, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[address] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.Employee --> [DatabaseTable(CMP3_EMPLOYEE), DatabaseTable(CMP3_SALARY)]) Exception [EclipseLink-129] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The set method for the attribute [address] does not take a ValueHolderInterface as its parameter, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[address] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.Employee --> [DatabaseTable(CMP3_EMPLOYEE), DatabaseTable(CMP3_SALARY)]) Exception [EclipseLink-127] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The get method for the attribute [hugeProject] does not return a ValueHolderInterface, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.OneToOneMapping[hugeProject] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.Employee --> [DatabaseTable(CMP3_EMPLOYEE), DatabaseTable(CMP3_SALARY)]) Exception [EclipseLink-129] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The set method for the attribute [hugeProject] does not take a ValueHolderInterface as its parameter, but the mapping uses indirection. Mapping: org.eclipse.persistence.mappings.OneToOneMapping[hugeProject] Descriptor: RelationalDescriptor(org.eclipse.persistence.testing.models.jpa.advanced.Employee --> [DatabaseTable(CMP3_EMPLOYEE), DatabaseTable(CMP3_SALARY)]) Exception [EclipseLink-127] (Eclipse Persistence Services - 2.3.0.qualifier): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The get method for the attribute [manager] does not return a ValueHolderInterface, but the mapping uses indirection. 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
fixed
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink