-----------------JPA tests in Testing Browser (oracle) on
10gR1--------------------
VERSION: Eclipse Persistence Services - 1.0 (Build SNAPSHOT -
20080318)
TEST MODEL NAME: JPA Tests
MODEL DESCRIPTION:
VERSION: Eclipse Persistence Services - 1.0 (Build SNAPSHOT -
20080318)
TEST MODEL NAME: AllCMP3TestRunModel
MODEL
DESCRIPTION:
TEST MODEL NAME: (JUnit test):
FullRegressionTestSuite
###ERRORS###
Errors: (failures): 2
Fatal Errors: (errors):
4
Passed: 913
Total Tests: 919
Failures:
TEST SUITE NAME:
org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite
TEST
NAME:
testSetFieldForPropertyAccessWithRefresh(org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite)
##FAILURE##
RESULT:
Error (failure)
junit.framework.AssertionFailedError: The address
was not correctly persisted.
at
junit.framework.Assert.fail(Assert.java:47)
at
junit.framework.Assert.assertTrue(Assert.java:20)
at
org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSetFieldForPropertyAccessWithRefresh(EntityManagerJUnitTestSuite.java:4127)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at
junit.framework.TestCase.runTest(TestCase.java:168)
at
junit.framework.TestCase.runBare(TestCase.java:134)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:347)
at
junit.framework.TestResult$1.protect(TestResult.java:110)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.framework.TestResult.run(TestResult.java:113)
at
junit.framework.TestCase.run(TestCase.java:124)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:663)
at
org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
TEST SUITE NAME:
org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite
TEST
NAME:
testSetFieldForPropertyAccess(org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite)
##FAILURE##
RESULT:
Error (failure)
junit.framework.AssertionFailedError: The address
was not correctly persisted.
at
junit.framework.Assert.fail(Assert.java:47)
at
junit.framework.Assert.assertTrue(Assert.java:20)
at
org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSetFieldForPropertyAccess(EntityManagerJUnitTestSuite.java:4067)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at
junit.framework.TestCase.runTest(TestCase.java:168)
at
junit.framework.TestCase.runBare(TestCase.java:134)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:347)
at
junit.framework.TestResult$1.protect(TestResult.java:110)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.framework.TestResult.run(TestResult.java:113)
at
junit.framework.TestCase.run(TestCase.java:124)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:663)
at
org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
Errors:
TEST SUITE NAME:
org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite
TEST
NAME:
testGetReference(org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite)
##FAILURE##
RESULT:
FatalError (error)
java.lang.IllegalArgumentException: You have
provided an instance of an incorrect PK class for this find operation.
Class expected : class java.lang.Integer, Class received : class
java.util.ArrayList.
at
org.eclipse.persistence.internal.jpa.EntityManagerImpl.findInternal(EntityManagerImpl.java:332)
at
org.eclipse.persistence.internal.jpa.EntityManagerImpl.getReference(EntityManagerImpl.java:666)
at
org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testGetReference(EntityManagerJUnitTestSuite.java:5647)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at
junit.framework.TestCase.runTest(TestCase.java:168)
at
junit.framework.TestCase.runBare(TestCase.java:134)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:347)
at
junit.framework.TestResult$1.protect(TestResult.java:110)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.framework.TestResult.run(TestResult.java:113)
at
junit.framework.TestCase.run(TestCase.java:124)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:663)
at
org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
TEST NAME: Advanced Model -
extended
##FAILURE##
RESULT:
FatalError (error)
javax.persistence.PersistenceException: No
Persistence provider for EntityManager named extended
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getEntityManagerFactory(JUnitTestCase.java:282)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getEntityManagerFactory(JUnitTestCase.java:273)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getServerSession(JUnitTestCase.java:269)
at
org.eclipse.persistence.testing.tests.jpa.xml.advanced.EntityMappingsAdvancedJUnitTestCase$1.setUp(EntityMappingsAdvancedJUnitTestCase.java:106)
at
junit.extensions.TestSetup$1.protect(TestSetup.java:22)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.extensions.TestSetup.run(TestSetup.java:27)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:663)
at
org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
TEST SUITE NAME:
org.eclipse.persistence.testing.tests.jpa.structconverter.StructConverterTestSuite
TEST
NAME:
testXMLPlatform(org.eclipse.persistence.testing.tests.jpa.structconverter.StructConverterTestSuite)
##FAILURE##
RESULT:
FatalError (error)
javax.persistence.PersistenceException: No
Persistence provider for EntityManager named xmlStructConverter
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getEntityManagerFactory(JUnitTestCase.java:282)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getEntityManagerFactory(JUnitTestCase.java:273)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.createEntityManager(JUnitTestCase.java:232)
at
org.eclipse.persistence.testing.tests.jpa.structconverter.StructConverterTestSuite.testXMLPlatform(StructConverterTestSuite.java:107)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at
junit.framework.TestCase.runTest(TestCase.java:168)
at
junit.framework.TestCase.runBare(TestCase.java:134)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:347)
at
junit.framework.TestResult$1.protect(TestResult.java:110)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.framework.TestResult.run(TestResult.java:113)
at
junit.framework.TestCase.run(TestCase.java:124)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at
junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.extensions.TestSetup.run(TestSetup.java:27)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:663)
at
org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
TEST SUITE NAME:
org.eclipse.persistence.testing.tests.jpa.structconverter.StructConverterTestSuite
TEST
NAME:
testSimpleXMLSpatialWrite(org.eclipse.persistence.testing.tests.jpa.structconverter.StructConverterTestSuite)
##FAILURE##
RESULT:
FatalError (error)
javax.persistence.PersistenceException: No
Persistence provider for EntityManager named xmlStructConverter
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getEntityManagerFactory(JUnitTestCase.java:282)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getEntityManagerFactory(JUnitTestCase.java:273)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.createEntityManager(JUnitTestCase.java:232)
at
org.eclipse.persistence.testing.tests.jpa.structconverter.StructConverterTestSuite.testSimpleXMLSpatialWrite(StructConverterTestSuite.java:152)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at
junit.framework.TestCase.runTest(TestCase.java:168)
at
junit.framework.TestCase.runBare(TestCase.java:134)
at
org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:347)
at
junit.framework.TestResult$1.protect(TestResult.java:110)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.framework.TestResult.run(TestResult.java:113)
at
junit.framework.TestCase.run(TestCase.java:124)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at
junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at
junit.framework.TestResult.runProtected(TestResult.java:128)
at
junit.extensions.TestSetup.run(TestSetup.java:27)
at
junit.framework.TestSuite.runTest(TestSuite.java:232)
at
junit.framework.TestSuite.run(TestSuite.java:227)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
at
org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:663)
at
org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
RESULTS OF TEST MODEL:
AllCMP3TestRunModel
###ERRORS###
Warnings:
0
Problems: 0
Errors: 2
Fatal Errors:
4
Passed: 1002
Setup Warnings: 0
Setup Failures:
0
Total Time: 994987
Total Tests: 1008
RESULTS OF TEST MODEL: JPA Tests
###ERRORS###
Warnings:
0
Problems: 0
Errors: 2
Fatal Errors: 4
Passed: 1002
Setup
Warnings: 0
Setup Failures: 0
Total Time: 995098
Total Tests:
1008
-------------------test.core------------------------
today: 20080318
- test.jpa ran today as core.test no longer has
errors
some differences
- new error in core - no effect on
results
[junit] Exception Description: The field
[AREACODE] is not present in the table [PHONE] in the
database.
[junit] Descriptor:
RelationalDescriptor(org.eclipse.persistence.testing.models.employee.domain.PhoneNumber
--> [DatabaseTable(PHONE)])
[junit] at
org.eclipse.persistence.exceptions.DescriptorException.fieldIsNotPresentInDatabase(DescriptorException.java:392)
[junit] at
org.eclipse.persistence.descriptors.ClassDescriptor.checkDatabase(ClassDescriptor.java:687)
[junit] at
org.eclipse.persistence.descriptors.ClassDescriptor.postInitialize(ClassDescriptor.java:2505)
[junit] at
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:457)
[junit] at
org.eclipse.persistence.sessions.Project.addDescriptors(Project.java:244)
[junit] at
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.addDescriptors(DatabaseSessionImpl.java:227)
[junit] at
org.eclipse.persistence.testing.tests.feature.ShouldCheckDatabaseTest.test(ShouldCheckDatabaseTest.java:39)
[junit] at
org.eclipse.persistence.testing.framework.TestCase.executeTest(TestCase.java:541)
[junit] at
org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:152)
[junit] at
org.eclipse.persistence.testing.framework.TestCase.runBare(TestCase.java:261)
[junit] at
junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at
junit.framework.TestResult.run(TestResult.java:109)
[junit] at
junit.framework.TestCase.run(TestCase.java:120)
[junit]
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
[junit] at
org.eclipse.persistence.testing.framework.TestSuite.execute(TestSuite.java:75)
[junit] at
org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:312)
[junit] at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
[junit] at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
[junit] at
org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:312)
[junit] at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
[junit] at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
[junit] at
org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:312)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
Yesterday 20080317
- test.jpa did not run because core.test had
errors
Some differences
- old error [PCODE] in core is replaced by [AREACODE]
above - no effect on results
[junit] Exception
Description: The field [PCODE] is not present in the table [ADDRESS] in the
database.
[junit] Descriptor:
RelationalDescriptor(org.eclipse.persistence.testing.models.employee.domain.Address
--> [DatabaseTable(ADDRESS)])
[junit] at
org.eclipse.persistence.exceptions.DescriptorException.fieldIsNotPresentInDatabase(DescriptorException.java:392)
[junit] at
org.eclipse.persistence.descriptors.ClassDescriptor.checkDatabase(ClassDescriptor.java:687)
[junit] at
org.eclipse.persistence.descriptors.ClassDescriptor.postInitialize(ClassDescriptor.java:2505)
[junit] at
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:457)
[junit] at
org.eclipse.persistence.sessions.Project.addDescriptors(Project.java:244)
[junit] at
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.addDescriptors(DatabaseSessionImpl.java:227)
[junit] at
org.eclipse.persistence.testing.tests.feature.ShouldCheckDatabaseTest.test(ShouldCheckDatabaseTest.java:39)
[junit] at
org.eclipse.persistence.testing.framework.TestCase.executeTest(TestCase.java:541)
[junit] at
org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:152)
[junit] at
org.eclipse.persistence.testing.framework.TestCase.runBare(TestCase.java:261)
[junit] at
junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at
junit.framework.TestResult.run(TestResult.java:109)
[junit] at
junit.framework.TestCase.run(TestCase.java:120)
[junit]
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
[junit] at
org.eclipse.persistence.testing.framework.TestSuite.execute(TestSuite.java:75)
[junit] at
org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:312)
[junit] at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
[junit] at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
[junit] at
org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:312)
[junit] at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:245)
[junit] at
org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
[junit] at
org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:312)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)