You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mz...@apache.org on 2006/03/24 15:34:37 UTC

svn commit: r388538 - /db/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java

Author: mzaun
Date: Fri Mar 24 06:34:31 2006
New Revision: 388538

URL: http://svn.apache.org/viewcvs?rev=388538&view=rev
Log:
JDO-348 - fix for fostore20 compilation issue due to latest api20 changes

Modified:
    db/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java

Modified: db/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java
URL: http://svn.apache.org/viewcvs/db/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java?rev=388538&r1=388537&r2=388538&view=diff
==============================================================================
--- db/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java (original)
+++ db/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java Fri Mar 24 06:34:31 2006
@@ -948,6 +948,36 @@
         makeTransientAll(pcs.toArray());
     }
 
+    /** Make an instance transient, removing it from management by this 
+     * <code>PersistenceManager</code>. Because FOStore doesn't
+     * support the notion of a fetch plan, this method behaves exactly as
+     * makeTransient(Object pc).
+     * @see javax.jdo.PersistenceManager#makeTransient(Object, boolean);
+     */
+    public void makeTransient(Object pc, boolean useFetchPlan) {
+        makeTransient(pc);
+    }
+
+    /** Make instances transient, removing them from management
+     * by this <code>PersistenceManager</code>. Because FOStore doesn't
+     * support the notion of a fetch plan, this method behaves exactly as
+     * makeTransientAll(Object[] pcs).
+     * @see javax.jdo.PersistenceManager#makeTransientAll(Object[], boolean);
+     */
+    public void makeTransientAll(Object[] pcs, boolean useFetchPlan) {
+        makeTransientAll(pcs);
+    }
+    
+    /** Make instances transient, removing them from management
+     * by this <code>PersistenceManager</code>. Because FOStore doesn't
+     * support the notion of a fetch plan, this method behaves exactly as
+     * makeTransientAll(Collection pcs).
+     * @see javax.jdo.PersistenceManager#makeTransientAll(Collection, boolean);
+     */
+    public void makeTransientAll(Collection pcs, boolean useFetchPlan) {
+        makeTransientAll(pcs);
+    }
+
     /** Make an instance subject to transactional boundaries.
     *   
     * <P>Transient instances normally do not observe transaction boundaries.