Issue Details (XML | Word | Printable)

Key: JDO-437
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Michelle Caisse
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

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

Add test for detachment when the instances are of a class that is not detachable.

Created: 16/Oct/06 07:38 PM   Updated: 21/May/07 04:28 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File Licensed for inclusion in ASF works DetachUndetachable.java 2007-05-17 11:05 PM Michelle Caisse 3 kB

Resolution Date: 21/May/07 04:28 PM


 Description  « Hide
The spec states that "Instances to be detached that are not of a Detachable class are detached as transient instances." There is no TCK test for this behavior. We should add one.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell made changes - 14/Mar/07 08:59 PM
Field Original Value New Value
Assignee Michelle Caisse [ mcaisse ]
Michelle Caisse added a comment - 17/May/07 11:05 PM
Attached is a new test for detachment of an undetachable instance. It uses the existing Undetachable class in the shoppingcart package.

Michelle Caisse made changes - 17/May/07 11:05 PM
Attachment DetachUndetachable.java [ 12357589 ]
Craig Russell added a comment - 18/May/07 07:54 PM
Suggest new name for unDetached variable. Consider removing unused imports.

Ship it.

Michelle Caisse added a comment - 21/May/07 04:28 PM
Made suggested changes, checked in revision: 540194

Michelle Caisse made changes - 21/May/07 04:28 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]