Issue Details (XML | Word | Printable)

Key: JDO-401
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Ilan Kirsh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

CallingJdoPreclear -

Created: 25/Jul/06 08:20 AM   Updated: 03/Oct/06 09:29 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1, JDO 2 TCK challenge fixes

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-401.patch 2006-08-08 03:47 AM Craig Russell 0.6 kB

Resolution Date: 08/Aug/06 09:47 PM


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ilan Kirsh added a comment - 25/Jul/06 08:25 AM
In org.apache.jdo.tck.api.instancecallbacks.CallingJdoPreclear:

When optimistic transaction is used, In the commit in line 127 secondaryObj is expected to be persistent non transactional so it is not expected to be cleared, and jdoPreClear should not be called.

Craig Russell added a comment - 29/Jul/06 08:02 PM
Need to resolve these issues for maintenance release 1.

Craig Russell added a comment - 08/Aug/06 03:47 AM
Right. The test was written assuming that the default transaction type was datastore. The test needs to be explicit by setting the transaction type to datastore regardless of the default.

Michael Bouschen added a comment - 08/Aug/06 09:31 PM
The patch looks good!

Craig Russell added a comment - 08/Aug/06 09:47 PM
svn commit -m "JDO-401 Set Optimisitic to false to make sure jdoPreClear is called" src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java
Sending src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java
Transmitting file data .
Committed revision 429837.

Michael Bouschen added a comment - 03/Oct/06 09:01 PM
I merged the change from the trunk into brach 2.0.1 (see revision 452620).