Index: trunk/api20/src/java/javax/jdo/PersistenceManager.java =================================================================== --- trunk/api20/src/java/javax/jdo/PersistenceManager.java (revision 377957) +++ trunk/api20/src/java/javax/jdo/PersistenceManager.java (working copy) @@ -570,7 +570,40 @@ * @param pcs the instances to make transient. */ void makeTransientAll (Collection pcs); + + /** Make an instance transient, and optionally all other instances in the current + * fetch plan, removing them from management by this PersistenceManager. + * + *

The instance(s) lose their JDO identity and are no longer associated + * with any PersistenceManager. The state of fields is preserved unchanged. + * @param pc the root instance to make transient. + * @param useFetchPlan Whether to make instances transient reachable using the current fetch plan + * @since 2.0 + */ + void makeTransient (Object pc, boolean useFetchPlan); + + /** Make an array of instances transient, removing them from management by this + * PersistenceManager. + * + *

The instances lose their JDO identity and they are no longer associated + * with any PersistenceManager. The state of fields is preserved unchanged. + * @param pcs the instances to make transient. + * @param useFetchPlan Whether to make instances transient reachable using the current fetch plan + * @since 2.0 + */ + void makeTransientAll (Object[] pcs, boolean useFetchPlan); + /** Make a Collection of instances transient, removing them from + * management by this PersistenceManager. + * + *

The instances lose their JDO identity and they are no longer associated + * with any PersistenceManager. The state of fields is preserved unchanged. + * @param pcs the instances to make transient. + * @param useFetchPlan Whether to make instances transient reachable using the current fetch plan + * @since 2.0 + */ + void makeTransientAll (Collection pcs, boolean useFetchPlan); + /** Make an instance subject to transactional boundaries. * *

Transient instances normally do not observe transaction boundaries.