Hi Tom,
On 12/01/2010 16:51, Dies Koper wrote:
I am a hesitant to change this test for all platforms, but you could add
an isSymfoware() check and then do some alternate clean up. Which
queries fail? (I assume just the ones that deal with Employee)
Yes, you are correct, just the UpdateAllQuery and DeleteAllQuery with
Employee.
With the alternate clean up all tests in these suites now pass. Thanks!
They passed when I ran just their suites, but as part of the JPA LRG the
testSetup method fails:
Exception Description: Missing descriptor for [class
org.eclipse.persistence.testing.models.jpa.fieldaccess.advanced.Address].
Query: ReadAllQuery(referenceClass=Address )
at
org.eclipse.persistence.exceptions.QueryException.descriptorIsMissing(QueryException.java:433)
[...]
at
org.eclipse.persistence.internal.sessions.AbstractSession.readAllObjects(AbstractSession.java:2618)
at
org.eclipse.persistence.testing.tests.jpa.advanced.JoinedAttributeAdvancedJunitTest.populate(JoinedAttributeAdvancedJunitTest.java:110)
at
org.eclipse.persistence.testing.tests.jpa.advanced.JoinedAttributeAdvancedJunitTest.testSetup(JoinedAttributeAdvancedJunitTest.java:168)
The line is:
objectVectors[i] = getDbSession().readAllObjects(classes[i]);
What could be wrong?
Thanks,
Dies
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev