Issue Details (XML | Word | Printable)

Key: JDO-400
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

IsTransactionalFalse - Should work with optimistic transactions?

Created: 25/Jul/06 07:23 AM   Updated: 03/Oct/06 10:08 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-400.patch 2006-07-30 01:15 AM Craig Russell 0.6 kB

Resolution Date: 30/Jul/06 08:01 PM


 Description  « Hide
org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
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 - 30/Jul/06 12:11 AM
Assignee Craig Russell [ clr ]
Craig Russell added a comment - 30/Jul/06 01:15 AM
Right. The transaction in which the instance is touched must be datastore, not optimistic.

The attached patch explicitly marks the transaction as datastore in order to reliably make the instance transactional.

Craig Russell made changes - 30/Jul/06 01:15 AM
Attachment JDO-400.patch [ 12337761 ]
Michael Bouschen added a comment - 30/Jul/06 06:28 PM
The patch looks good!

Craig Russell added a comment - 30/Jul/06 08:01 PM
svn commit -m "JDO-400 Set transaction type to datastore explicitly so instance read becomes transactional" src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
Sending src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
Transmitting file data .
Committed revision 426928.

Craig Russell made changes - 30/Jul/06 08:01 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Repository Revision Date User Message
ASF #426928 Sun Jul 30 20:03:27 UTC 2006 clr JDO-400 Set transaction type to datastore explicitly so instance read becomes transactional
Files Changed
MODIFY /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java

Repository Revision Date User Message
ASF #452630 Tue Oct 03 21:27:20 UTC 2006 mbo JDO-400: 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/jdohelper/IsTransactionalFalse.java

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

Michael Bouschen made changes - 03/Oct/06 09:28 PM
Fix Version/s JDO 2.0 TCK challenge fixes [ 12312093 ]
Michael Bouschen made changes - 03/Oct/06 10:08 PM
Affects Version/s JDO 2 final [ 12310830 ]
Component/s tck20 [ 11652 ]