Testcase: testNamedNativeQuery took 0.046 sec
Testcase: testPersistThenRemoveCalls took 0.192 sec
Testcase: testRemoveUnmanagedNewEntity took 0.024 sec
Testcase: testPersistOnRegisteredObject took 0.026 sec
Testcase: testPreUpdateEvent_UpdateAltered took 0.051 sec
Testcase: testPreUpdateEvent_UpdateReverted took 0.049 sec
Testcase: testRefreshNotManaged took 0.017 sec
Testcase: testRefreshRemoved took 0.093 sec
Testcase: testCacheUsage took 0.041 sec
Testcase: testContainsRemoved took 0.024 sec
Testcase: testFlushModeEmAutoQueryCommit took 0.046 sec
Testcase: testFlushModeEmAuto took 0.013 sec
Testcase: testFlushModeEmAutoQueryAuto took 0.038 sec
Testcase: testFlushModeEmCommitQueryCommit took 0.009 sec
Testcase: testFlushModeEmCommit took 0.017 sec
Testcase: testFlushModeEmCommitQueryAuto took 0.022 sec
Testcase: testFlushModeOnUpdateQuery took 0.089 sec
Testcase: testSetRollbackOnly took 0.07 sec
Testcase: testSubString took 0.061 sec
Testcase: testDatabaseSyncNewObject took 0.001 sec
Testcase: testTransactionRequired took 0.01 sec
Testcase: testIdentityInsideTransaction took 0.005 sec
Testcase: testIdentityOutsideTransaction took 0.01 sec
Testcase: testIgnoreRemovedObjectsOnDatabaseSync took 0.127 sec
Testcase: testREADLock took 0.029 sec
Testcase: testPersistRemoved took 0.441 sec
	FAILED
i=9: Transaction secondFlush thirdFlush  employeeReadFromDB == null; i=11: Transaction secondFlush  employeeReadFromDB == null; i=17: firstFlush secondFlush thirdFlush  employeeReadFromDB == null; i=19: firstFlush secondFlush  employeeReadFromDB == null; 
junit.framework.AssertionFailedError: i=9: Transaction secondFlush thirdFlush  employeeReadFromDB == null; i=11: Transaction secondFlush  employeeReadFromDB == null; i=17: firstFlush secondFlush thirdFlush  employeeReadFromDB == null; i=19: firstFlush secondFlush  employeeReadFromDB == null; 
	at oracle.toplink.essentials.testing.tests.cmp3.advanced.EntityManagerJUnitTestSuite.testPersistRemoved(EntityManagerJUnitTestSuite.java:849)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testPersistManagedException took 0.015 sec
Testcase: testPersistManagedNoException took 0.024 sec
Testcase: testRemoveFlushPersistContains took 0.044 sec
Testcase: testRemoveFlushFind took 0.048 sec
	FAILED
removed object found after flush
junit.framework.AssertionFailedError: removed object found after flush
	at oracle.toplink.essentials.testing.tests.cmp3.advanced.EntityManagerJUnitTestSuite.testRemoveFlushFind(EntityManagerJUnitTestSuite.java:1033)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testFindWithWrongTypePk took 0.003 sec
Testcase: testFindWithNullPk took 0 sec
Testcase: testCheckVersionOnMerge took 0.021 sec
Testcase: testClear took 0.006 sec
Testcase: testClearWithFlush took 0.024 sec
Testcase: testClearInTransaction took 0.014 sec
Testcase: testExtendedPersistenceContext took 0.092 sec
	FAILED
empToBeRemoved is still in the db after transaction committed
junit.framework.AssertionFailedError: empToBeRemoved is still in the db after transaction committed
	at oracle.toplink.essentials.testing.tests.cmp3.advanced.EntityManagerJUnitTestSuite.testExtendedPersistenceContext(EntityManagerJUnitTestSuite.java:1327)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testReadTransactionIsolation_CustomUpdate took 0.053 sec
Testcase: testReadTransactionIsolation_CustomUpdate_Flush took 0.028 sec
Testcase: testReadTransactionIsolation_CustomUpdate_Refresh took 0.041 sec
Testcase: testReadTransactionIsolation_CustomUpdate_Refresh_Flush took 0.299 sec
Testcase: testReadTransactionIsolation_UpdateAll took 0.04 sec
Testcase: testReadTransactionIsolation_UpdateAll_Flush took 0.042 sec
Testcase: testReadTransactionIsolation_UpdateAll_Refresh took 0.034 sec
Testcase: testReadTransactionIsolation_UpdateAll_Refresh_Flush took 0.039 sec
Testcase: testReadTransactionIsolation_OriginalInCache_CustomUpdate took 0.023 sec
Testcase: testReadTransactionIsolation_OriginalInCache_CustomUpdate_Flush took 0.052 sec
Testcase: testReadTransactionIsolation_OriginalInCache_CustomUpdate_Refresh took 0.057 sec
Testcase: testReadTransactionIsolation_OriginalInCache_CustomUpdate_Refresh_Flush took 0.061 sec
Testcase: testReadTransactionIsolation_OriginalInCache_UpdateAll took 0.042 sec
Testcase: testReadTransactionIsolation_OriginalInCache_UpdateAll_Flush took 0.039 sec
Testcase: testReadTransactionIsolation_OriginalInCache_UpdateAll_Refresh took 0.045 sec
Testcase: testReadTransactionIsolation_OriginalInCache_UpdateAll_Refresh_Flush took 0.042 sec
Testcase: testFindDeleteAllPersist took 0.092 sec
Testcase: testWRITELock took 0.018 sec
Testcase: testEMFWrapValidationException took 0.242 sec
Testcase: testEMDefaultTxType took 0.158 sec
Testcase: testPersistOnNonEntity took 0 sec
Testcase: testClose took 0 sec
Testcase: testBeginTransactionClose took 0.001 sec
Testcase: testBeginTransactionCloseCommitTransaction took 0.046 sec
Testcase: testPersistenceProperties took 0.001 sec
Testcase: testMultipleFactories took 1.509 sec
Testcase: testParallelMultipleFactories took 0.001 sec
Testcase: testQueryHints took 0 sec
Testcase: testQueryOnClosedEM took 0 sec
Testcase: testNullifyAddressIn took 0.013 sec
Testcase: testLeftJoinOneToOneQuery took 0.011 sec
Testcase: testSerializedLazy took 0.098 sec
Testcase: testOracleSequenceDefinition took 0 sec
Testcase: testMergeDetachedObject took 0.031 sec
Testcase: testMergeRemovedObject took 0.01 sec
Testcase: testMergeNull took 0 sec
Testcase: testPersistNull took 0 sec
Testcase: testContainsNull took 0 sec
Testcase: testRemoveNull took 0 sec
Testcase: testCreateEntityManagerFactory took 0 sec
Testcase: testCreateEntityManagerFactory2 took 0 sec
Testcase: testPrimaryKeyUpdate took 0.009 sec
Testcase: testPrimaryKeyUpdateSameValue took 0.006 sec
Testcase: testPrimaryKeyUpdatePKFK took 0.011 sec
Testcase: testCascadeMergeDetached took 0.057 sec
Testcase: testCascadeMergeManaged took 0.041 sec
Testcase: testCascadePersistToNonEntitySubclass took 0.011 sec
Testcase: testInitializeFieldForPropertyAccess took 0.021 sec
Testcase: testSetFieldForPropertyAccess took 0.025 sec
Testcase: testSetFieldForPropertyAccessWithRefresh took 0.046 sec
Testcase: testSetFieldForPropertyAccessWithNewEM took 0.029 sec
Testcase: testDeleteAllPhonesWithNullOwner took 0.007 sec
Testcase: testDeleteAllProjectsWithNullTeamLeader took 0.08 sec
Testcase: testDeleteAllSmallProjectsWithNullTeamLeader took 0.045 sec
Testcase: testDeleteAllLargeProjectsWithNullTeamLeader took 0.043 sec
Testcase: testUpdateUsingTempStorage took 0.124 sec
Testcase: testUpdateUsingTempStorageWithParameter took 0.108 sec
Testcase: testUpdateAllSmallProjects took 0.104 sec
Testcase: testUpdateAllLargeProjects took 0.05 sec
Testcase: testUpdateAllProjects took 0.078 sec
Testcase: testUpdateAllSmallProjectsWithName took 0.068 sec
Testcase: testUpdateAllLargeProjectsWithName took 0.054 sec
Testcase: testUpdateAllProjectsWithName took 0.046 sec
Testcase: testUpdateAllSmallProjectsWithNullTeamLeader took 0.332 sec
Testcase: testUpdateAllLargeProjectsWithNullTeamLeader took 0.091 sec
Testcase: testUpdateAllProjectsWithNullTeamLeader took 0.137 sec
Testcase: testRollbackOnlyOnException took 0.002 sec
Testcase: testClosedEmShouldThrowException took 0 sec
Testcase: testOneToManyDefaultJoinTableName took 0.016 sec
Testcase: testMultipleEntityManagerFactories took 0 sec
Testcase: testClearEntityManagerWithoutPersistenceContext took 0 sec
Testcase: testClearEntityManagerWithoutPersistenceContextSimulateJTA took 0.007 sec
Testcase: testInheritanceNoDiscriminatorColumn took 0.008 sec
Testcase: testComplicateResultWithInheritance took 0.074 sec
Testcase: testRefresh took 0.063 sec
Testcase: testBindParameters took 0.016 sec
Testcase: testBindParametersWithPostitional took 0.011 sec
Testcase: testSimpleInheritance took 0.031 sec
Testcase: testPessimisticLocking took 0.086 sec
Testcase: testComplicateResults took 0.015 sec
Testcase: testProjectJoinTeamMembers took 0.63 sec
Testcase: testProjectJoinTeamLeaderJoinAddressWhereTeamLeaderNotNull took 0.49 sec
Testcase: testProjectJoinTeamMembersJoinAddress took 0.465 sec
Testcase: testProjectOuterJoinTeamMembersJoinAddress took 0.343 sec
Testcase: testProjectOuterJoinTeamMembersOuterJoinAddress took 0.322 sec
Testcase: testProjectJoinTeamMembersOuterJoinAddress took 0.423 sec
Testcase: testProblemReporterProjectJoinTeamMembersJoinAddress took 0.312 sec
Testcase: testEmployeeJoinProjects took 0.266 sec
Testcase: testEmployeeJoinProjectsJoinTeamLeaderJoinAddressWhereManagerIsNull took 0.728 sec
Testcase: testProjectOuterJoinTeamLeaderAddressTeamMembersAddressPhonesWhereProjectName took 0.402 sec
Testcase: testEmployeeOuterJoinAddressPhoneProjectsTeamLeaderAddressTeamMembersPhones took 0.604 sec
Testcase: testEmployeeJoinManagerAddressOuterJoinManagerAddress took 0.617 sec
Testcase: testTwoUnrelatedResultWithOneToManyJoins took 0.677 sec
Testcase: testMultipleUnrelatedResultWithOneToManyJoins took 0.793 sec
Testcase: testTwoUnrelatedResultWithOneToOneJoins took 0.585 sec
Testcase: testTwoUnrelatedResultWithOneToOneJoinsWithExtraItem took 0.515 sec
Testcase: testSimpleReturnDirectToField took 0.009 sec
Testcase: testSimpleReturnObject took 0.036 sec
Testcase: testReturnObjectAndDirectToField took 0.035 sec
Testcase: testReturnUnrelatedObjectAndDirectToField took 0.083 sec
Testcase: testInheritanceMultiTableException took 0.011 sec
Testcase: testReturnRootObject took 0.025 sec
Testcase: testExtendedPersistenceContext took 0.014 sec
Testcase: testSimpleConstructorExpression took 0.009 sec
Testcase: testSimpleConstructorExpressionWithNamedQuery took 0.005 sec
Testcase: testMultipleTypeConstructorExpression took 0.024 sec
Testcase: testNonExistantConstructorConstructorExpression took 0.002 sec
Testcase: testPrimitiveConstructorExpression took 0.008 sec
Testcase: testConstructorEJBQLWithInheritance took 0.007 sec
Testcase: testConstructorExpressionWithOtherAttributes took 0.008 sec
Testcase: testCreateProjects took 0.037 sec
Testcase: testCreateEmployeeWithFlush took 0.034 sec
Testcase: testVersionUpdateWithCorrectValue took 0.005 sec
Testcase: testVersionUpdateWithIncorrectValue took 0.02 sec
Testcase: testVersionUpdateWithNullValue took 0.025 sec
Testcase: testGF894 took 0.027 sec
Testcase: testGF1818 took 0.009 sec
Testcase: testGF1894 took 0.026 sec
Testcase: testCreateDepartment took 0.021 sec
Testcase: testCreateScientists took 0.062 sec
Testcase: testReadDepartment took 0.032 sec
Testcase: testReadJuniorScientist took 0.024 sec
Testcase: testAnyAndAll took 0.434 sec
Testcase: testCreateWrapperTypes took 0.019 sec
Testcase: testNullifyBigDecimal took 0.021 sec
Testcase: testNullifyBigInteger took 0.011 sec
Testcase: testNullifyBoolean took 0.015 sec
Testcase: testNullifyByte took 0.016 sec
Testcase: testNullifyCharacter took 0.018 sec
Testcase: testNullifyShort took 0.015 sec
Testcase: testNullifyInteger took 0.008 sec
Testcase: testNullifyLong took 0.007 sec
Testcase: testNullifyFloat took 0.011 sec
Testcase: testNullifyDouble took 0.018 sec
Testcase: testNullifyString took 0.009 sec
Testcase: testCreateByteArrayType took 0.028 sec
Testcase: testCreatePrimitiveByteArrayType took 0.031 sec
Testcase: testCreateCharacterArrayType took 0.038 sec
Testcase: testCreateCharArrayType took 0.022 sec
Testcase: testCreateDateTime took 0.027 sec
Testcase: testNullifySqlDate took 0.015 sec
Testcase: testNullifyTime took 0.01 sec
Testcase: testNullifyTimestamp took 0.017 sec
Testcase: testNullifyUtilDate took 0.017 sec
Testcase: testNullifyCalendar took 0.01 sec
Testcase: testCreate took 0.027 sec
Testcase: testRead took 0.001 sec
Testcase: testUpdate took 0.029 sec
Testcase: testDelete took 0.014 sec
	FAILED
Error deleting Image
junit.framework.AssertionFailedError: Error deleting Image
	at oracle.toplink.essentials.testing.tests.cmp3.lob.LobJUnitTestCase.testDelete(LobJUnitTestCase.java:109)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testPrePersistBusOverrideAndAbstractInheritAndDefault took 0.038 sec
Testcase: testPostPersistBusInheritAndDefault took 0.026 sec
Testcase: testPostLoadBusInheritAndDefault took 0 sec
Testcase: testPrePersistSportsCarInheritAndExcludeDefault took 0.014 sec
Testcase: testPostPersistSportsCarInheritAndExcludeDefault took 0.003 sec
Testcase: testPrePersistSportsCarOverride took 0.006 sec
Testcase: test_null took 0.154 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.deleteAllObjects(UnitOfWorkImpl.java:1259)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:100)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:73)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal(DeleteAllQueryInheritanceJunitTest.java:195)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal_Deferred_Children(DeleteAllQueryInheritanceJunitTest.java:169)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.test_null(DeleteAllQueryInheritanceJunitTest.java:125)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: test_nullNonDeferred took 0.012 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.deleteAllObjects(UnitOfWorkImpl.java:1259)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:100)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:73)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal(DeleteAllQueryInheritanceJunitTest.java:195)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal_NonDeferred_Children(DeleteAllQueryInheritanceJunitTest.java:173)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.test_nullNonDeferred(DeleteAllQueryInheritanceJunitTest.java:130)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: test_ownerTOP took 0.051 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bicycle(62))
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bicycle(62))
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.deleteAllObjects(UnitOfWorkImpl.java:1259)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:100)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:73)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal(DeleteAllQueryInheritanceJunitTest.java:195)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal_Deferred_Children(DeleteAllQueryInheritanceJunitTest.java:169)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.test_ownerTOP(DeleteAllQueryInheritanceJunitTest.java:137)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: test_fuelTypePetrol took 0.019 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.deleteAllObjects(UnitOfWorkImpl.java:1259)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:100)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:73)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal(DeleteAllQueryInheritanceJunitTest.java:195)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal_Deferred_Children(DeleteAllQueryInheritanceJunitTest.java:169)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.test_fuelTypePetrol(DeleteAllQueryInheritanceJunitTest.java:144)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: test_schoolBusNullDriver took 0.016 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(60))
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(60))
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.deleteAllObjects(UnitOfWorkImpl.java:1259)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:100)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:73)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal(DeleteAllQueryInheritanceJunitTest.java:195)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal_Deferred_Children(DeleteAllQueryInheritanceJunitTest.java:169)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.test_schoolBusNullDriver(DeleteAllQueryInheritanceJunitTest.java:151)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: test_ownerOwnsNonFueledVehicle took 0.047 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Bus(64))
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.deleteAllObjects(UnitOfWorkImpl.java:1259)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:100)
	at oracle.toplink.essentials.testing.framework.DeleteAllQueryTestHelper.execute(DeleteAllQueryTestHelper.java:73)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal(DeleteAllQueryInheritanceJunitTest.java:195)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.deleteAllQueryInternal_Deferred_Children(DeleteAllQueryInheritanceJunitTest.java:169)
	at oracle.toplink.essentials.testing.tests.cmp3.inheritance.DeleteAllQueryInheritanceJunitTest.test_ownerOwnsNonFueledVehicle(DeleteAllQueryInheritanceJunitTest.java:165)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testPersistPolymorphicRelationship took 0.039 sec
Testcase: testAssociationWithEmbeddedIdSubclassEntityInJoinedStrategy took 0.095 sec
Testcase: testCreateNewMudTire took 0.036 sec
Testcase: testCreateNewRockTire took 0.012 sec
Testcase: testReadNewMudTire took 0.009 sec
Testcase: testReadNewRockTire took 0.009 sec
Testcase: testInitialize took 0.092 sec
Testcase: test1 took 0.098 sec
Testcase: testInitialize took 0.031 sec
Testcase: test2 took 0.038 sec
Testcase: testInitialize took 0.027 sec
Testcase: test3 took 0.038 sec
Testcase: testCreateBlue took 0.012 sec
Testcase: testReadBlue took 0.006 sec
Testcase: testPreAndPostPersistAlpine took 0.013 sec
Testcase: testPreAndPostPersistBeerConsumer took 0.022 sec
Testcase: testPostLoadOnFind took 0.001 sec
Testcase: testPostLoadOnRefresh took 0.207 sec
Testcase: testPreAndPostUpdate took 0.011 sec
Testcase: testPreAndPostRemove took 0.039 sec
Testcase: testCreateBeerConsumer took 0.01 sec
Testcase: testCreateAlpine took 0.053 sec
Testcase: testCreateCanadian took 0.033 sec
Testcase: testCreateCertifications took 0.056 sec
Testcase: testCreateTelephoneNumbers took 0.047 sec
Testcase: testReadBeerConsumer took 0.006 sec
Testcase: testReadAlpine took 0.009 sec
Testcase: testReadCanadian took 0.01 sec
Testcase: testInsertNewAlpine took 0.058 sec
Testcase: testInsertNewAlpineAndModifyOrderOfExistingAlpines took 0.131 sec
Testcase: testUpdateAlpine took 0.05 sec
Testcase: testUpdateAlpineThroughBeerConsumer took 0.036 sec
Testcase: testUpdateBeerConsumer took 0.074 sec
Testcase: testUpdateCanadian took 0.026 sec
Testcase: testUpdateCanadianThroughBeerConsumer took 0.044 sec
Testcase: testUpdateCertifications took 0.061 sec
Testcase: testUpdateTelephoneNumberThroughBeerConsumer took 0.025 sec
Testcase: testShuffleTelephoneNumbersOnBeerConsumers took 0.047 sec
Testcase: testDeleteAlpine took 0.02 sec
	FAILED
Error deleting an Alpine beer
junit.framework.AssertionFailedError: Error deleting an Alpine beer
	at oracle.toplink.essentials.testing.tests.cmp3.inherited.EmbeddableSuperclassJunitTest.testDeleteAlpine(EmbeddableSuperclassJunitTest.java:331)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteCanadian took 0.026 sec
	FAILED
Error deleting a Canadian beer
junit.framework.AssertionFailedError: Error deleting a Canadian beer
	at oracle.toplink.essentials.testing.tests.cmp3.inherited.EmbeddableSuperclassJunitTest.testDeleteCanadian(EmbeddableSuperclassJunitTest.java:363)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteBeerConsumer took 0.035 sec
	FAILED
Error deleting a BeerConsumer
junit.framework.AssertionFailedError: Error deleting a BeerConsumer
	at oracle.toplink.essentials.testing.tests.cmp3.inherited.EmbeddableSuperclassJunitTest.testDeleteBeerConsumer(EmbeddableSuperclassJunitTest.java:347)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testgetReference took 0.835 sec
Testcase: testcreateNativeQuery took 0.731 sec
Testcase: testcreateNativeQueryWithSelectSQL took 0.435 sec
Testcase: testNativeNamedQuery took 0.395 sec
Testcase: testSetParameterUsingNull took 0.428 sec
Testcase: testExcludingUnneccesaryJoin took 0.456 sec
Testcase: testRemoveUnneccesaryDistinctFromJoin took 0.71 sec
Testcase: testLeftTrimWithTrimChar took 0.49 sec
Testcase: testLeftTrimWithoutTrimChar took 0.408 sec
Testcase: testRightTrimWithTrimChar took 0.497 sec
Testcase: testRightTrimWithoutTrimChar took 0.416 sec
Testcase: testTrimWithTrimChar took 0.423 sec
Testcase: testTrimWithoutTrimChar took 0.871 sec
Testcase: testLocateWithSingleArgument took 0.429 sec
Testcase: testLocateWithDoubleArgument took 0.594 sec
Testcase: testInsertVirtualAttribute took 0.032 sec
Testcase: testReadVirtualAttribute took 0.01 sec
Testcase: testUpdateVirtualAttribute took 0.015 sec
Testcase: testDeleteVirtualAttribute took 0.019 sec
	FAILED
Object holding virtual attribute was not properly deleted
junit.framework.AssertionFailedError: Object holding virtual attribute was not properly deleted
	at oracle.toplink.essentials.testing.tests.cmp3.relationships.VirtualAttributeTestSuite.testDeleteVirtualAttribute(VirtualAttributeTestSuite.java:146)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testCacheIsolation_PropertiesDefault_Config took 0.074 sec
Testcase: testCacheIsolation_XMLDefault_Config took 0.085 sec
Testcase: testJTADatasource_Config_Override took 0.005 sec
Testcase: testNonJTADatasource_Config_Override took 0.025 sec
Testcase: testPKClassTypeValidation took 0.001 sec
Testcase: testParameterNameValidation took 0 sec
Testcase: testParameterPositionValidation took 0.001 sec
Testcase: testParameterPositionValidation2 took 0.001 sec
Testcase: selfReferencingManyToManyTest took 0.446 sec
Testcase: selfReferencingManyToManyTest took 0.655 sec
Testcase: testLeftTrimWithTrimChar took 0.396 sec
Testcase: testLeftTrimWithoutTrimChar took 0.424 sec
Testcase: testRightTrimWithTrimChar took 5.151 sec
Testcase: testRightTrimWithoutTrimChar took 0.383 sec
Testcase: testTrimWithTrimChar took 0.368 sec
Testcase: testTrimWithoutTrimChar took 0.369 sec
Testcase: testLocateWithSingleArgument took 0.415 sec
Testcase: testLocateWithDoubleArgument took 0.615 sec
Testcase: testInsertVirtualAttribute took 0.016 sec
Testcase: testReadVirtualAttribute took 0.01 sec
Testcase: testUpdateVirtualAttribute took 0.013 sec
Testcase: testDeleteVirtualAttribute took 0.018 sec
	FAILED
Object holding virtual attribute was not properly deleted
junit.framework.AssertionFailedError: Object holding virtual attribute was not properly deleted
	at oracle.toplink.essentials.testing.tests.cmp3.fieldaccess.relationships.VirtualAttributeTestSuite.testDeleteVirtualAttribute(VirtualAttributeTestSuite.java:146)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testSelectPhoneNumberAreaCode took 0.013 sec
Testcase: testSelectPhoneNumberAreaCodeWithEmployee took 0.223 sec
Testcase: testSelectPhoneNumberNumberWithEmployeeWithExplicitJoin took 0.208 sec
Testcase: testSelectPhoneNumberNumberWithEmployeeWithFirstNameFirst took 0.193 sec
Testcase: testSelectEmployeeWithSameParameterUsedMultipleTimes took 0.036 sec
Testcase: testOuterJoinOnOneToOne took 0.049 sec
Testcase: testOuterJoinPolymorphic took 0.025 sec
Testcase: testFirstResultOnNamedQuery took 0.01 sec
Testcase: testInvertedSelectionCriteriaNullPK took 0.016 sec
Testcase: testInvertedSelectionCriteriaInvalidQueryKey took 0.037 sec
Testcase: simpleJoinFetchTest took 0.337 sec
Testcase: baseTestCase took 0.138 sec
Testcase: simpleABSTest took 0.047 sec
Testcase: simpleBetweenAndTest took 0.048 sec
Testcase: simpleBetweenTest took 0.034 sec
Testcase: simpleConcatTest took 0.035 sec
Testcase: simpleConcatTestWithParameters took 0.044 sec
Testcase: simpleConcatTestWithConstants1 took 0.037 sec
Testcase: simpleDistinctTest took 0.034 sec
Testcase: simpleDistinctNullTest took 0.051 sec
Testcase: simpleDistinctMultipleResultTest took 0.043 sec
Testcase: simpleDoubleOrTest took 0.066 sec
Testcase: simpleEqualsBracketsTest took 0.035 sec
Testcase: simpleEqualsTest took 0.024 sec
Testcase: simpleEqualsTestWithJoin took 0.09 sec
Testcase: simpleEqualsWithAs took 0.034 sec
Testcase: collectionMemberIdentifierEqualsTest took 0.044 sec
Testcase: abstractSchemaIdentifierEqualsTest took 0.033 sec
Testcase: abstractSchemaIdentifierNotEqualsTest took 0.126 sec
Testcase: simpleInOneDotTest took 0.044 sec
Testcase: simpleInTest took 0.029 sec
Testcase: simpleLengthTest took 0.037 sec
Testcase: simpleLikeTest took 0.039 sec
Testcase: simpleLikeTestWithParameter took 0.041 sec
Testcase: simpleLikeEscapeTestWithParameter took 0.014 sec
Testcase: simpleNotBetweenTest took 0.14 sec
Testcase: simpleNotEqualsVariablesInteger took 0.131 sec
Testcase: simpleNotInTest took 0.137 sec
Testcase: simpleNotLikeTest took 0.146 sec
Testcase: simpleOrFollowedByAndTest took 0.045 sec
Testcase: simpleOrFollowedByAndTestWithStaticNames took 0.049 sec
Testcase: simpleOrTest took 0.049 sec
Testcase: simpleParameterTest took 0.042 sec
Testcase: simpleParameterTestChangingParameters took 0.048 sec
Testcase: simpleReverseAbsTest took 0.031 sec
Testcase: simpleReverseConcatTest took 0.035 sec
Testcase: simpleReverseEqualsTest took 0.031 sec
Testcase: simpleReverseLengthTest took 0.039 sec
Testcase: simpleReverseParameterTest took 0.033 sec
Testcase: simpleReverseSqrtTest took 0.029 sec
Testcase: simpleReverseSubstringTest took 0.029 sec
Testcase: simpleSqrtTest took 0.014 sec
Testcase: simpleSubstringTest took 0.032 sec
Testcase: simpleNullTest took 0.027 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Employee: 1862)
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Employee: 1862)
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.testing.tests.ejb.ejbqltesting.JUnitEJBQLSimpleTestSuite.simpleNullTest(JUnitEJBQLSimpleTestSuite.java:1329)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: simpleNotNullTest took 0.051 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Employee: 1863)
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(Employee: 1863)
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.testing.tests.ejb.ejbqltesting.JUnitEJBQLSimpleTestSuite.simpleNotNullTest(JUnitEJBQLSimpleTestSuite.java:1364)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: distinctTest took 0.264 sec
Testcase: conformResultsInUnitOfWorkTest took 0.045 sec
Testcase: simpleModTest took 0.034 sec
Testcase: simpleIsEmptyTest took 0.037 sec
Testcase: simpleIsNotEmptyTest took 0.124 sec
Testcase: simpleApostrohpeTest took 0.026 sec
Testcase: simpleEscapeUnderscoreTest took 0.013 sec
Testcase: simpleEnumTest took 0.008 sec
Testcase: smallProjectMemberOfProjectsTest took 0.159 sec
Testcase: smallProjectNOTMemberOfProjectsTest took 0.125 sec
Testcase: selectCountOneToOneTest took 0.011 sec
Testcase: selectOneToOneTest took 0.025 sec
Testcase: selectPhonenumberDeclaredInINClauseTest took 0.116 sec
Testcase: selectSimpleMemberOfWithParameterTest took 0.013 sec
	Caused an ERROR

Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(PhoneNumber[cell]: (613) 123-4567)
Local Exception Stack: 
Exception [TOPLINK-6014] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.QueryException
Exception Description: Objects cannot be written during a UnitOfWork, they must be registered.
Query: DeleteObjectQuery(PhoneNumber[cell]: (613) 123-4567)
	at oracle.toplink.essentials.exceptions.QueryException.invalidQuery(QueryException.java:592)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.deleteObject(AbstractSession.java:611)
	at oracle.toplink.essentials.testing.tests.ejb.ejbqltesting.JUnitEJBQLSimpleTestSuite.selectSimpleMemberOfWithParameterTest(JUnitEJBQLSimpleTestSuite.java:1753)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: selectSimpleNotMemberOfWithParameterTest took 0.036 sec
	Caused an ERROR

Internal Exception: org.apache.derby.client.am.SqlException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL070319044941460' defined on 'CMP3_PHONENUMBER'.
Error Code: -1
Call: INSERT INTO CMP3_PHONENUMBER (TYPE, AREA_CODE, NUMB, OWNER_ID) VALUES (?, ?, ?, ?)
	bind => [cell, 613, 1234567, 1858]
Query: InsertObjectQuery(PhoneNumber[cell]: (613) 123-4567)
Local Exception Stack: 
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL070319044941460' defined on 'CMP3_PHONENUMBER'.
Error Code: -1
Call: INSERT INTO CMP3_PHONENUMBER (TYPE, AREA_CODE, NUMB, OWNER_ID) VALUES (?, ?, ?, ?)
	bind => [cell, 613, 1234567, 1858]
Query: InsertObjectQuery(PhoneNumber[cell]: (613) 123-4567)
	at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:296)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:639)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:688)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:477)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeCall(AbstractSession.java:676)
	at oracle.toplink.essentials.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:135)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:331)
	at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:176)
	at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:190)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:462)
	at oracle.toplink.essentials.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:74)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:747)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:711)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:607)
	at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:136)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:288)
	at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:67)
	at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
	at oracle.toplink.essentials.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:536)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:123)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:254)
	at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:231)
	at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:187)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:2639)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1030)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1112)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitRootUnitOfWork(UnitOfWorkImpl.java:962)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commit(UnitOfWorkImpl.java:794)
	at oracle.toplink.essentials.testing.tests.ejb.ejbqltesting.JUnitEJBQLSimpleTestSuite.selectSimpleNotMemberOfWithParameterTest(JUnitEJBQLSimpleTestSuite.java:1784)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: org.apache.derby.client.am.SqlException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL070319044941460' defined on 'CMP3_PHONENUMBER'.
	at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
	at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source)
	at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
	at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
	at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown Source)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:632)
	... 55 more

Testcase: selectSimpleBetweenWithParameterTest took 0.142 sec
Testcase: selectSimpleInWithParameterTest took 0.043 sec
Testcase: selectAverageQueryForByteColumnTest took 0.009 sec
Testcase: selectUsingLockModeQueryHintTest took 0.024 sec
Testcase: multipleExecutionOfNamedQueryTest took 0.015 sec
Testcase: selectNamedNativeQueryWithPositionalParameterTest took 0.012 sec
Testcase: selectNativeQueryWithPositionalParameterTest took 0.005 sec
Testcase: complexABSTest took 0.023 sec
Testcase: complexABSWithParameterTest took 0.046 sec
Testcase: compexInTest took 0.064 sec
Testcase: complexLengthTest took 0.036 sec
Testcase: complexLikeTest took 0.029 sec
Testcase: complexNotInTest took 0.149 sec
Testcase: complexNotLikeTest took 0.131 sec
Testcase: complexParameterTest took 0.037 sec
Testcase: complexReverseAbsTest took 0.039 sec
Testcase: complexReverseLengthTest took 0.032 sec
Testcase: complexReverseParameterTest took 0.03 sec
Testcase: complexReverseSqrtTest took 0.027 sec
Testcase: complexSqrtTest took 0.024 sec
Testcase: complexStringInTest took 0.042 sec
Testcase: complexStringNotInTest took 0.124 sec
Testcase: complexSubstringTest took 0.031 sec
Testcase: complexLocateTest took 0.026 sec
Testcase: complexNestedOneToManyUsingInClause took 0.343 sec
Testcase: complexUnusedVariableTest took 0.221 sec
Testcase: complexJoinTest took 0.05 sec
Testcase: complexFetchJoinTest took 0.179 sec
Testcase: complexSelectRelationshipTest took 0.032 sec
Testcase: complexConstructorTest took 0.024 sec
Testcase: complexConstructorVariableTest took 0.028 sec
Testcase: complexConstructorRelationshipTest took 0.036 sec
Testcase: complexConstructorAggregatesTest took 0.042 sec
Testcase: complexConstructorCountOnJoinedVariableTest took 0.057 sec
Testcase: complexResultPropertiesTest took 0.033 sec
Testcase: complexInSubqueryTest took 0.059 sec
Testcase: complexExistsTest took 0.073 sec
Testcase: complexNotExistsTest took 0.072 sec
Testcase: complexMemberOfTest took 0.148 sec
Testcase: complexNotMemberOfTest took 0.118 sec
Testcase: complexNavigatingTwoLevelOfEmbeededs took 0.007 sec
Testcase: testStraightReadSuperClass took 0.026 sec
Testcase: testStraightReadSubClass took 0.043 sec
Testcase: testJoinSuperClass took 0.122 sec
Testcase: testJoinSubClass took 0.077 sec
Testcase: testJoinFetchSuperClass took 0.055 sec
Testcase: testJoinFetchSubClass took 0.028 sec
Testcase: testJoinedInheritance took 0.009 sec
Testcase: generalExceptionTest took 0.02 sec
Testcase: recognitionExceptionTest took 0.001 sec
Testcase: missingSelectExceptionTest took 0 sec
Testcase: malformedEjbqlExceptionTest1 took 0.001 sec
Testcase: malformedEjbqlExceptionTest2 took 0.001 sec
Testcase: malformedEjbqlExceptionTest3 took 0.001 sec
Testcase: malformedEjbqlExceptionTest4 took 0 sec
Testcase: malformedEjbqlExceptionTest5 took 0.006 sec
Testcase: malformedEjbqlExceptionTest6 took 0.003 sec
Testcase: malformedEjbqlExceptionTest7 took 0 sec
Testcase: malformedEjbqlExceptionTest8 took 0.003 sec
Testcase: noAliasWithWHEREAndParameterExceptionTest took 0.013 sec
Testcase: unknownAbstractSchemaTypeTest took 0.001 sec
Testcase: multipleDeclarationOfIdentificationVariable took 0.001 sec
Testcase: aliasResolutionException took 0.005 sec
Testcase: illegalArgumentExceptionTest took 0.001 sec
Testcase: createNamedQueryThrowsIllegalArgumentExceptionTest took 0 sec
Testcase: flushTxExceptionTest took 0.006 sec
Testcase: noResultExceptionTest took 0.007 sec
Testcase: testGetSingleResultOnUpdate took 0 sec
Testcase: testGetSingleResultOnDelete took 0.001 sec
Testcase: testExecuteUpdateOnSelect took 0 sec
Testcase: flushOptimisticLockExceptionTest took 0.336 sec
Testcase: commitOptimisticLockExceptionTest took 0.029 sec
Testcase: JTAOptimisticLockExceptionTest took 0.039 sec
Testcase: testParameterNameValidation took 0 sec
Testcase: testModArgumentValidation took 0.001 sec
Testcase: testInExpressionValidation took 0 sec
Testcase: testOrderableTypeInOrderByItem took 0.001 sec
Testcase: testInvalidNavigation took 0.001 sec
Testcase: testInvalidCollectionNavigation took 0.001 sec
Testcase: testUnknownAttribute took 0.001 sec
Testcase: testUnknownEnumConstant took 0.002 sec
Testcase: testCommitRollbackException took 0.012 sec
Testcase: testParameterPositionValidation took 0 sec
Testcase: testParameterPositionValidation2 took 0.001 sec
Testcase: testParameterTypeValidation took 0.001 sec
Testcase: testEjbqlCaseSensitivity took 0.027 sec
Testcase: testEjbqlUnsupportJoinArgument took 0.001 sec
Testcase: testInvalidSetClause took 0.001 sec
Testcase: complexAVGTest took 0.026 sec
Testcase: complexCountDistinctWithGroupByAndHavingTest took 0.094 sec
Testcase: complexCountDistinctWithGroupByTest took 0.05 sec
Testcase: complexCountDistinctWithGroupByTest2 took 0.015 sec
Testcase: complexHavingWithAggregate took 0.08 sec
Testcase: complexCountTest took 0.009 sec
Testcase: complexCountWithGroupByTest took 0.006 sec
Testcase: complexDistinctCountTest took 0.015 sec
Testcase: complexMaxTest took 0.014 sec
Testcase: complexMinTest took 0.02 sec
Testcase: complexSumTest took 0.015 sec
Testcase: complexCountOnJoinedVariableOverManyToManySelfRefRelationship took 0.01 sec
Testcase: testSqlDate took 0.011 sec
Testcase: testSqlDateToTS took 0.003 sec
Testcase: testTime took 0.007 sec
Testcase: testTimeToTS took 0.002 sec
Testcase: testTimestamp took 0.04 sec
Testcase: testTimestampToDate took 0.004 sec
Testcase: testTimestampToTime took 0.002 sec
Testcase: testUtilDate took 0.005 sec
Testcase: testCalenderWithUtilDate took 0.007 sec
Testcase: testSqlDateWithCal took 0.003 sec
Testcase: testTimeWithCal took 0.003 sec
Testcase: testTimestampWithCal took 0.002 sec
Testcase: testUtilDateWithCal took 0.002 sec
Testcase: testCalendar took 0.002 sec
Testcase: testTimestampGreaterThan took 0.006 sec
Testcase: testTimestampLessThan took 0.007 sec
Testcase: testTimestampIn took 0.006 sec
Testcase: testTimestampBetween took 0.008 sec
Testcase: multipleParameterTest took 0.023 sec
Testcase: updateEnumParameter took 0.029 sec
Testcase: findAllOrders took 0.008 sec
Testcase: findEmployeesInOntario took 0.145 sec
Testcase: findAllProvinceWithEmployees took 0.012 sec
Testcase: findAllEmployeesWithPhoneNumbers took 0.354 sec
Testcase: findAllEmployeesWithOutPhoneNumbers took 0.025 sec
Testcase: findAllEmployeesWithCellPhones took 0.053 sec
Testcase: findOrdersWithDifferentBilledCustomer took 0.017 sec
Testcase: findEmployeeWithWorkPhone2258812 took 0.106 sec
Testcase: parameterTest took 0.087 sec
Testcase: getOrderLargerThan took 0.01 sec
Testcase: getSalesPersonForOrders took 0.012 sec
Testcase: getOrderForCustomer took 0.045 sec
Testcase: testOuterJoin took 0.053 sec
Testcase: testExistsExpression took 0.148 sec
Testcase: testAllExpressions took 0.133 sec
Testcase: testCountInSubQuery took 0.017 sec
Testcase: testGroupByHavingExpression took 0.07 sec
Testcase: testGroupByHavingCount took 0.023 sec
Testcase: testConstructorQuery took 0.008 sec
Testcase: testSumExpression took 0.024 sec
Testcase: testAvgExpression took 0.007 sec
Testcase: testOrderByExpression took 0.069 sec
Testcase: testCountInSubQuery took 0.003 sec
Testcase: testOrderByExpressionWithSelect took 0.049 sec
Testcase: testDeleteExpression took 0.026 sec
Testcase: testComplexDeleteExpression took 0.027 sec
Testcase: updateAllTest took 0.059 sec
Testcase: namedQueryCloneTest took 0.008 sec
Testcase: aggregateParameterTest took 0.049 sec
Testcase: testEJBQLQueryString took 0.024 sec
Testcase: updateEmbeddedFieldTest took 0.015 sec
Testcase: simpleUpdate took 1.447 sec
Testcase: updateWithSubquery took 1.878 sec
Testcase: updateEmbedded took 1.737 sec
Testcase: updateEmbeddedFieldTest took 1.473 sec
Testcase: updateUnqualifiedAttributeInSet took 1.445 sec
Testcase: updateUnqualifiedAttributeInWhere took 2.095 sec
Testcase: updateDateTimeFields took 1.697 sec
Testcase: simpleDelete took 1.746 sec
Testcase: testCreateEmployee took 0.055 sec
Testcase: testReadEmployee took 0 sec
Testcase: testNamedNativeQueryOnAddress took 0.016 sec
Testcase: testNamedQueryOnEmployee took 0.015 sec
Testcase: testUpdateEmployee took 0.021 sec
Testcase: testRefreshNotManagedEmployee took 0.012 sec
Testcase: testRefreshRemovedEmployee took 0.093 sec
Testcase: testDeleteEmployee took 0.151 sec
	FAILED
Error deleting Employee
junit.framework.AssertionFailedError: Error deleting Employee
	at oracle.toplink.essentials.testing.tests.cmp3.xml.advanced.EntityMappingsAdvancedJUnitTestCase.testDeleteEmployee(EntityMappingsAdvancedJUnitTestCase.java:115)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testCreateCustomer took 0.023 sec
Testcase: testCreateItem took 0.009 sec
Testcase: testCreateOrder took 0.01 sec
Testcase: testReadCustomer took 0.001 sec
Testcase: testReadItem took 0 sec
Testcase: testReadOrder took 0 sec
Testcase: testNamedQueryOnCustomer took 0.004 sec
Testcase: testNamedQueryOnItem took 0.014 sec
Testcase: testNamedQueryOnOrder took 0.008 sec
Testcase: testUpdateCustomer took 0.012 sec
Testcase: testUpdateItem took 0.023 sec
Testcase: testUpdateOrder took 0.031 sec
Testcase: testDeleteOrder took 0.016 sec
	FAILED
Error deleting Order
junit.framework.AssertionFailedError: Error deleting Order
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.EntityMappingsRelationshipsJUnitTestCase.testDeleteOrder(EntityMappingsRelationshipsJUnitTestCase.java:198)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteCustomer took 0.05 sec
	FAILED
Error deleting Customer
junit.framework.AssertionFailedError: Error deleting Customer
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.EntityMappingsRelationshipsJUnitTestCase.testDeleteCustomer(EntityMappingsRelationshipsJUnitTestCase.java:166)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteItem took 0.011 sec
	FAILED
Error deleting Item
junit.framework.AssertionFailedError: Error deleting Item
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.EntityMappingsRelationshipsJUnitTestCase.testDeleteItem(EntityMappingsRelationshipsJUnitTestCase.java:182)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalOneToOneCreate took 0.042 sec
Testcase: testUnidirectionalOneToOneRead took 0.001 sec
Testcase: testUnidirectionalOneToOneDeleteNonowning took 0.045 sec
	FAILED
Error deleting Employee
junit.framework.AssertionFailedError: Error deleting Employee
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalOneToOneDeleteNonowning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:152)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalOneToOneDeleteOwning took 0.012 sec
	FAILED
Error deleting Project
junit.framework.AssertionFailedError: Error deleting Project
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalOneToOneDeleteOwning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:170)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalOneToManyCreate took 0.04 sec
Testcase: testUnidirectionalOneToManyRead took 0.002 sec
Testcase: testUnidirectionalOneToManyDeleteNonowning took 0.019 sec
	FAILED
Error deleting PhoneNumber
junit.framework.AssertionFailedError: Error deleting PhoneNumber
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalOneToManyDeleteNonowning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:231)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalOneToManyDeleteOwning took 0.016 sec
	FAILED
Error deleting Employee
junit.framework.AssertionFailedError: Error deleting Employee
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalOneToManyDeleteOwning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:251)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalManyToOneCreate took 0.024 sec
Testcase: testUnidirectionalManyToOneRead took 0.002 sec
Testcase: testUnidirectionalManyToOneDeleteNonowning took 0.017 sec
	FAILED
Error deleting Address
junit.framework.AssertionFailedError: Error deleting Address
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalManyToOneDeleteNonowning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:307)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalManyToOneDeleteOwning took 0.011 sec
	FAILED
Error deleting Employee
junit.framework.AssertionFailedError: Error deleting Employee
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalManyToOneDeleteOwning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:326)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalManyToManyCreate took 0.028 sec
Testcase: testUnidirectionalManyToManyRead took 0 sec
Testcase: testUnidirectionalManyToManyDeleteNonowning took 0.013 sec
	FAILED
Error deleting Project
junit.framework.AssertionFailedError: Error deleting Project
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalManyToManyDeleteNonowning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:388)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testUnidirectionalManyToManyDeleteOwning took 0.008 sec
	FAILED
Error deleting Employee
junit.framework.AssertionFailedError: Error deleting Employee
	at oracle.toplink.essentials.testing.tests.cmp3.xml.relationships.unidirectional.EntityMappingsUnidirectionalRelationshipsJUnitTestCase.testUnidirectionalManyToManyDeleteOwning(EntityMappingsUnidirectionalRelationshipsJUnitTestCase.java:406)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testCreateFueledVehicle took 0.019 sec
Testcase: testCreateBusFueledVehicle took 0.018 sec
Testcase: testCreateNonFueledVehicle took 0.04 sec
Testcase: testReadFueledVehicle took 0.001 sec
Testcase: testReadNonFueledVehicle took 0 sec
Testcase: testNamedNativeQueryOnSportsCar took 0.006 sec
Testcase: testUpdateBusFueledVehicle took 0.022 sec
Testcase: testUpdateFueledVehicle took 0.013 sec
Testcase: testUpdateNonFueledVehicle took 0.029 sec
Testcase: testDeleteBusFueledVehicle took 0.019 sec
	FAILED
Error deleting FueledVehicle [Bus]
junit.framework.AssertionFailedError: Error deleting FueledVehicle [Bus]
	at oracle.toplink.essentials.testing.tests.cmp3.xml.inheritance.EntityMappingsInheritanceJUnitTestCase.testDeleteBusFueledVehicle(EntityMappingsInheritanceJUnitTestCase.java:210)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteFueledVehicle took 0.011 sec
	FAILED
Error deleting FueledVehicle [SportsCar]
junit.framework.AssertionFailedError: Error deleting FueledVehicle [SportsCar]
	at oracle.toplink.essentials.testing.tests.cmp3.xml.inheritance.EntityMappingsInheritanceJUnitTestCase.testDeleteFueledVehicle(EntityMappingsInheritanceJUnitTestCase.java:229)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteNonFueledVehicle took 0.011 sec
	FAILED
Error deleting NonFueledVehicle [Boat]
junit.framework.AssertionFailedError: Error deleting NonFueledVehicle [Boat]
	at oracle.toplink.essentials.testing.tests.cmp3.xml.inheritance.EntityMappingsInheritanceJUnitTestCase.testDeleteNonFueledVehicle(EntityMappingsInheritanceJUnitTestCase.java:245)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testOneToManyRelationships took 0.018 sec
Testcase: testVerifyOneToManyRelationships took 0.001 sec
Testcase: testCreateBeerConsumer took 0.052 sec
Testcase: testReadBeerConsumer took 0.001 sec
Testcase: testNamedNativeQueryBeerConsumers took 0.007 sec
Testcase: testNamedNativeQueryCertifications took 0.012 sec
Testcase: testUpdateBeerConsumer took 0.017 sec
Testcase: testDeleteBeerConsumer took 0.056 sec
	FAILED
Error deleting BeerConsumer
junit.framework.AssertionFailedError: Error deleting BeerConsumer
	at oracle.toplink.essentials.testing.tests.cmp3.xml.inherited.EntityMappingsInheritedJUnitTestCase.testDeleteBeerConsumer(EntityMappingsInheritedJUnitTestCase.java:168)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testInheritanceDiscriminatorFieldValue took 0 sec
Testcase: testMappingsTypes took 0 sec
Testcase: testCreateCustomer took 0.021 sec
Testcase: testCreateItem took 0.032 sec
Testcase: testCreateOrder took 0.01 sec
Testcase: testReadCustomer took 0.001 sec
Testcase: testReadItem took 0.001 sec
Testcase: testReadOrder took 0 sec
Testcase: testNamedQueryOnCustomer took 0.006 sec
Testcase: testNamedQueryOnItem took 0.007 sec
Testcase: testNamedQueryOnOrder took 0.006 sec
Testcase: testUpdateCustomer took 0.02 sec
Testcase: testUpdateItem took 0.037 sec
Testcase: testUpdateOrder took 0.028 sec
Testcase: testDeleteOrder took 0.012 sec
	FAILED
Error deleting Order
junit.framework.AssertionFailedError: Error deleting Order
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.relationships.EntityMappingsMergeRelationshipsJUnitTestCase.testDeleteOrder(EntityMappingsMergeRelationshipsJUnitTestCase.java:213)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteCustomer took 0.01 sec
	FAILED
Error deleting Customer
junit.framework.AssertionFailedError: Error deleting Customer
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.relationships.EntityMappingsMergeRelationshipsJUnitTestCase.testDeleteCustomer(EntityMappingsMergeRelationshipsJUnitTestCase.java:180)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteItem took 0.017 sec
	FAILED
Error deleting Item
junit.framework.AssertionFailedError: Error deleting Item
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.relationships.EntityMappingsMergeRelationshipsJUnitTestCase.testDeleteItem(EntityMappingsMergeRelationshipsJUnitTestCase.java:196)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testCreateCustomer took 0.01 sec
Testcase: testCreateItem took 0.021 sec
Testcase: testCreateOrder took 0.011 sec
Testcase: testReadCustomer took 0 sec
Testcase: testReadItem took 0.002 sec
Testcase: testReadOrder took 0 sec
Testcase: testUpdateCustomer took 0.018 sec
Testcase: testUpdateItem took 0.037 sec
Testcase: testUpdateOrder took 0.022 sec
Testcase: testDeleteOrder took 0.015 sec
	FAILED
Error deleting Order
junit.framework.AssertionFailedError: Error deleting Order
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.incompletemappings.nonowning.EntityMappingsIncompleteNonOwningJUnitTestCase.testDeleteOrder(EntityMappingsIncompleteNonOwningJUnitTestCase.java:211)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteCustomer took 0.015 sec
	FAILED
Error deleting Customer
junit.framework.AssertionFailedError: Error deleting Customer
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.incompletemappings.nonowning.EntityMappingsIncompleteNonOwningJUnitTestCase.testDeleteCustomer(EntityMappingsIncompleteNonOwningJUnitTestCase.java:178)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testDeleteItem took 0.023 sec
	FAILED
Error deleting Item
junit.framework.AssertionFailedError: Error deleting Item
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.incompletemappings.nonowning.EntityMappingsIncompleteNonOwningJUnitTestCase.testDeleteItem(EntityMappingsIncompleteNonOwningJUnitTestCase.java:194)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testCreateEmployee took 0.082 sec
Testcase: testReadEmployee took 0.003 sec
Testcase: testUpdateEmployee took 0.014 sec
Testcase: testDeleteEmployee took 0.078 sec
	FAILED
Error deleting Employee
junit.framework.AssertionFailedError: Error deleting Employee
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.incompletemappings.owning.EntityMappingsIncompleteOwningJUnitTestCase.testDeleteEmployee(EntityMappingsIncompleteOwningJUnitTestCase.java:116)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testOneToManyRelationships took 0.801 sec
Testcase: testVerifyOneToManyRelationships took 0.002 sec
Testcase: testCreateBeerConsumer took 0.049 sec
Testcase: testReadBeerConsumer took 0 sec
Testcase: testNamedNativeQueryBeerConsumers took 0.016 sec
Testcase: testNamedNativeQueryCertifications took 0.006 sec
Testcase: testMappedSuperclassTransientField took 0 sec
Testcase: testTransientField took 0.003 sec
Testcase: testUpdateBeerConsumer took 0.006 sec
Testcase: testDeleteBeerConsumer took 0.057 sec
	FAILED
Error deleting BeerConsumer
junit.framework.AssertionFailedError: Error deleting BeerConsumer
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.inherited.EntityMappingsMergeInheritedJUnitTestCase.testDeleteBeerConsumer(EntityMappingsMergeInheritedJUnitTestCase.java:174)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

Testcase: testBeerLifeCycleMethodAnnotationIgnored took 0.01 sec
	Caused an ERROR
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
Error Code: -1
Call: INSERT INTO CMP3_MERGE_CANADIAN (CANADIAN_ID, VERSION, BORN, ALCOHOLCONTENT, FLAVOR, BREWERYCODE, ES_NUMBER, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
	bind => [4, 2007-03-19 16:50:22.997, 2007-03-19, 5.5, null, null, null, 2]
Query: InsertObjectQuery(oracle.toplink.essentials.testing.models.cmp3.xml.merge.inherited.Canadian@e635e6)
javax.persistence.RollbackException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
Error Code: -1
Call: INSERT INTO CMP3_MERGE_CANADIAN (CANADIAN_ID, VERSION, BORN, ALCOHOLCONTENT, FLAVOR, BREWERYCODE, ES_NUMBER, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
	bind => [4, 2007-03-19 16:50:22.997, 2007-03-19, 5.5, null, null, null, 2]
Query: InsertObjectQuery(oracle.toplink.essentials.testing.models.cmp3.xml.merge.inherited.Canadian@e635e6)
	at oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(EntityTransactionImpl.java:105)
	at oracle.toplink.essentials.internal.ejb.cmp3.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:45)
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.inherited.EntityMappingsMergeInheritedJUnitTestCase.testBeerLifeCycleMethodAnnotationIgnored(EntityMappingsMergeInheritedJUnitTestCase.java:293)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
Error Code: -1
Call: INSERT INTO CMP3_MERGE_CANADIAN (CANADIAN_ID, VERSION, BORN, ALCOHOLCONTENT, FLAVOR, BREWERYCODE, ES_NUMBER, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
	bind => [4, 2007-03-19 16:50:22.997, 2007-03-19, 5.5, null, null, null, 2]
Query: InsertObjectQuery(oracle.toplink.essentials.testing.models.cmp3.xml.merge.inherited.Canadian@e635e6)
	at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:296)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:639)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:688)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:477)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeCall(AbstractSession.java:676)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:331)
	at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:176)
	at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:190)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:462)
	at oracle.toplink.essentials.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:74)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:747)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:711)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:607)
	at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:136)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:288)
	at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:67)
	at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
	at oracle.toplink.essentials.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:536)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:123)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:254)
	at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:175)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:2639)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1030)
	at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:387)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1112)
	at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitRootUnitOfWork(RepeatableWriteUnitOfWork.java:91)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitAndResume(UnitOfWorkImpl.java:842)
	at oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(EntityTransactionImpl.java:87)
	... 27 more
Caused by: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
	at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
	at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source)
	at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
	at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
	at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown Source)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:632)
	... 60 more

Testcase: testMappedSuperclassEntityListener took 0.009 sec
	Caused an ERROR
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
Error Code: -1
Call: INSERT INTO CMP3_MERGE_CANADIAN (CANADIAN_ID, VERSION, BORN, ALCOHOLCONTENT, FLAVOR, BREWERYCODE, ES_NUMBER, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
	bind => [5, 2007-03-19 16:50:23.013, 2007-03-19, 5.5, null, null, null, 2]
Query: InsertObjectQuery(oracle.toplink.essentials.testing.models.cmp3.xml.merge.inherited.Canadian@c41ba3)
javax.persistence.RollbackException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
Error Code: -1
Call: INSERT INTO CMP3_MERGE_CANADIAN (CANADIAN_ID, VERSION, BORN, ALCOHOLCONTENT, FLAVOR, BREWERYCODE, ES_NUMBER, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
	bind => [5, 2007-03-19 16:50:23.013, 2007-03-19, 5.5, null, null, null, 2]
Query: InsertObjectQuery(oracle.toplink.essentials.testing.models.cmp3.xml.merge.inherited.Canadian@c41ba3)
	at oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(EntityTransactionImpl.java:105)
	at oracle.toplink.essentials.internal.ejb.cmp3.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:45)
	at oracle.toplink.essentials.testing.tests.cmp3.xml.merge.inherited.EntityMappingsMergeInheritedJUnitTestCase.testMappedSuperclassEntityListener(EntityMappingsMergeInheritedJUnitTestCase.java:317)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/19/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
Error Code: -1
Call: INSERT INTO CMP3_MERGE_CANADIAN (CANADIAN_ID, VERSION, BORN, ALCOHOLCONTENT, FLAVOR, BREWERYCODE, ES_NUMBER, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
	bind => [5, 2007-03-19 16:50:23.013, 2007-03-19, 5.5, null, null, null, 2]
Query: InsertObjectQuery(oracle.toplink.essentials.testing.models.cmp3.xml.merge.inherited.Canadian@c41ba3)
	at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:296)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:639)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:688)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:477)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeCall(AbstractSession.java:676)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)
	at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:331)
	at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:176)
	at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:190)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:462)
	at oracle.toplink.essentials.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:74)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:747)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:711)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:607)
	at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:136)
	at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:288)
	at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:67)
	at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
	at oracle.toplink.essentials.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:536)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:123)
	at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:95)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:938)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:895)
	at oracle.toplink.essentials.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:254)
	at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:175)
	at oracle.toplink.essentials.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:2639)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1030)
	at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:387)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1112)
	at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitRootUnitOfWork(RepeatableWriteUnitOfWork.java:91)
	at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitAndResume(UnitOfWorkImpl.java:842)
	at oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(EntityTransactionImpl.java:87)
	... 27 more
Caused by: org.apache.derby.client.am.SqlException: INSERT on table 'CMP3_MERGE_CANADIAN' caused a violation of foreign key constraint 'CMP3MRGCNDANCNSMRD' for key (2).  The statement has been rolled back.
	at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
	at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source)
	at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
	at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
	at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown Source)
	at org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown Source)
	at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:632)
	... 60 more

Testcase: testMappedSuperclassEmbeddedXMLElement took 0 sec
Testcase: testDDLPkConstraintErrorIncludingRelationTableColumnName took 0.006 sec
Testcase: testDDLUniqueKeysAsJoinColumns took 0.03 sec
Testcase: testDDLUniqueConstraintsByAnnotations took 0.03 sec
Testcase: testDDLUniqueConstraintsByXML took 0.039 sec
Testcase: testDDLSubclassEmbeddedIdPkColumnsInJoinedStrategy took 0.018 sec
