Issue Details (XML | Word | Printable)

Key: JDO-450
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

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

Change signatures of PersistenceManager methods to be generic

Created: 11/Dec/06 03:44 AM   Updated: 11/Jul/07 07:32 PM
Return to search
Component/s: api2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works jdo-450.patch 2007-07-10 11:34 PM Craig Russell 2 kB

Resolution Date: 11/Jul/07 07:32 PM


 Description  « Hide
Change in 12.6 signatures of PersistenceManager methods to be generic. Note that these changes are source compatible with existing application programs. See ChangeLog for new signatures.

Object getObjectById (Class cls, Object key)
Object newInstance(Class persistenceCapable)
Object makePersistent (Object pc)
Object[ ] makePersistentAll (Object[ ] pcs)
Collection makePersistentAll (Collection pcs)
Object detachCopy(Object pc)
Collection detachCopyAll(Collection pcs)
Object[ ] detachCopyAll(Object[ ] pcs)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell added a comment - 10/Jul/07 11:34 PM
Please review this patch.

Craig Russell made changes - 10/Jul/07 11:34 PM
Field Original Value New Value
Attachment jdo-450.patch [ 12361540 ]
Repository Revision Date User Message
ASF #555337 Wed Jul 11 16:51:46 UTC 2007 clr JDO-450 Changed signatures of PersistenceManager methods to be generic.
Ran tck2 tests; same results as before.
Reviewed javadoc; new method signatures seem to javadoc ok.
Files Changed
MODIFY /db/jdo/trunk/api2/src/java/javax/jdo/PersistenceManager.java

Craig Russell added a comment - 11/Jul/07 07:32 PM
Patch has been checked in.

Craig Russell made changes - 11/Jul/07 07:32 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]