Issue Details (XML | Word | Printable)

Key: JDO-306
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Add makeTransient(Object, boolean) to PersistenceManager

Created: 16/Feb/06 01:10 AM   Updated: 24/Feb/06 02:27 AM
Return to search
Component/s: api2
Affects Version/s: JDO 2 beta
Fix Version/s: JDO 2 rc1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works makeTransient.patch 2006-02-16 12:06 PM Craig Russell 3 kB
Text File Licensed for inclusion in ASF works pm_patch.txt 2006-02-16 01:11 AM Andy Jefferson 1 kB
Text File Licensed for inclusion in ASF works pm_patch_2.txt 2006-02-16 05:51 AM Andy Jefferson 2 kB

Resolution Date: 24/Feb/06 02:27 AM


 Description  « Hide
The JDO2 spec should be updated with the overloaded method makeTransient(Object pc, boolean useFetchPlan) which will allow the make transient of all instances reachable from the current instance using the current fetch plan.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 16/Feb/06 01:11 AM
Patch for api20/src/java/javax/jdo/PersistenceManager.java

Andy Jefferson added a comment - 16/Feb/06 05:51 AM
Second patch - this replaces the first one, and specifies the makeTransient(Collection, boolean), makeTransient(Object[], boolean) methods too

Craig Russell added a comment - 16/Feb/06 12:06 PM
I cleaned up the javadoc just a bit. I'm ready to check in as soon as JPOX is ready with the new methods.

Andy Jefferson added a comment - 16/Feb/06 04:04 PM
JPOX CVS has the new methods. The latest nightly build should be fine.

Craig Russell added a comment - 24/Feb/06 02:27 AM
The changes have been checked in.