Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] rewriting updateall queries clean-up code in tests

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
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(
at org.eclipse.persistence.internal.sessions.AbstractSession.readAllObjects( at org.eclipse.persistence.testing.tests.jpa.advanced.JoinedAttributeAdvancedJunitTest.populate( at org.eclipse.persistence.testing.tests.jpa.advanced.JoinedAttributeAdvancedJunitTest.testSetup(

The line is:
            objectVectors[i] = getDbSession().readAllObjects(classes[i]);

What could be wrong?


Back to the top