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 made changes - 29/Jul/06 08:02 PM
Field Original Value New Value
Fix Version/s JDO 2 maintenance release 1 [ 12310923 ]
Craig Russell made changes - 08/Aug/06 03:45 AM
Assignee Craig Russell [ clr ]
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.

Craig Russell made changes - 08/Aug/06 03:47 AM
Attachment JDO-401.patch [ 12338337 ]
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.

Craig Russell made changes - 08/Aug/06 09:47 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Repository Revision Date User Message
ASF #429837 Tue Aug 08 21:49:31 UTC 2006 clr JDO-401 Set Optimisitic to false to make sure jdoPreClear is called
Files Changed
MODIFY /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java

Repository Revision Date User Message
ASF #452620 Tue Oct 03 21:01:11 UTC 2006 mbo JDO-401: merged trunk change into branch 2.0.1
Files Changed
MODIFY /db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java

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).

Michael Bouschen made changes - 03/Oct/06 09:29 PM
Fix Version/s JDO 2.0 TCK challenge fixes [ 12312093 ]