|
[
Permlink
| « Hide
]
Craig Russell added a comment - 16/Jul/05 04:35 AM
Good luck.
Test case Test_EmpDeptAppId because it calls the enhancer generated method jdoNewObjectIdInstance(Object). The signature of this method has been changed from String to Object from JDO1 to JDO2. The current version of the enhancer from enhancer20 generates a method body throwing an UnsupprotedOperationException which causes the test failure.
I changed the enhancer to generate the old code as it was generated for the JDO1 method jdoNewObjectIdInstance(String). I just added a cast expression for the Object argument before it is passed to the ObjectId constructor. This change is a workaround allowing the test to pass. It is not a full implementation of jdoNewObjectIdInstance, because it lacks support for single field identity. |
||||||||||||||||||||||||||||||||||||||||||||||||||