コード例 #1
0
 /**
  * Make a Persistence-Capable object transient
  *
  * @param pc Persistence-Capable object
  */
 public void makeTransient(Object pc) {
   checkStatus();
   pm.makeTransient(pc);
 }
コード例 #2
0
 /**
  * Make a Persistence-Capable object transient , optionally using the fetch plan.
  *
  * @param pc Persistence-Capable object
  * @param useFetchPlan Whether to use the fetch plan
  */
 public void makeTransient(Object pc, boolean useFetchPlan) {
   checkStatus();
   pm.makeTransient(pc, useFetchPlan);
 }