Skip to content

Passed

org.eclipse.persistence.testing.tests.unitofwork.ExceptionsRaisedUnitOfWorkTest.ExceptionsRaisedUnitOfWorkTest (from org.eclipse.persistence.testing.tests.SRGTestModel)

Took 4 ms.

Standard Output

[EL Warning]: 2024.06.12 11:43:21.585--UnitOfWork(1468498423)--Exception [EclipseLink-6004] (Eclipse Persistence Services - 5.0.0.v202406121140): org.eclipse.persistence.exceptions.QueryException
Exception Description: The object [Address: 1111 Moose Rd., Calgary, ALB, Canada], of class [class org.eclipse.persistence.testing.models.employee.domain.Address], with identity hashcode (System.identityHashCode()) [1,549,393,863], 
 is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork, 
 but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly 
 registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to 
 help debug where the error occurred. For more information, see the manual or FAQ.