db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r577817 - /db/jdo/trunk/api2/src/java/javax/jdo/Constants.java
Date Thu, 20 Sep 2007 17:14:01 GMT
Author: clr
Date: Thu Sep 20 10:14:01 2007
New Revision: 577817

URL: http://svn.apache.org/viewvc?rev=577817&view=rev
Log:
JDO-522 Add properties and methods for CopyOnAttach

Modified:
    db/jdo/trunk/api2/src/java/javax/jdo/Constants.java

Modified: db/jdo/trunk/api2/src/java/javax/jdo/Constants.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/Constants.java?rev=577817&r1=577816&r2=577817&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/Constants.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/Constants.java Thu Sep 20 10:14:01 2007
@@ -225,6 +225,14 @@
     static String PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT
         = "detach-all-on-commit";
     /**
+     * The name of the persistence manager factory element's
+     * "copy-on-attach" attribute.
+     *
+     * @since 2.1
+     */
+    static String PMF_ATTRIBUTE_COPY_ON_ATTACH
+        = "copy-on-attach";
+    /**
      * The name of the persistence manager factory element's "mapping"
      * attribute.
      *
@@ -594,6 +602,14 @@
      */
     static String PROPERTY_DETACH_ALL_ON_COMMIT
         = "javax.jdo.option.DetachAllOnCommit";
+    /**
+     * "javax.jdo.option.CopyOnAttach"
+     *
+     * @see PersistenceManagerFactory#getCopyOnAttach()
+     * @since 2.1
+     */
+    static String PROPERTY_COPY_ON_ATTACH
+        = "javax.jdo.option.CopyOnAttach";
     /**
      * "javax.jdo.option.ConnectionDriverName"
      *



Mime
View raw message