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 cl...@apache.org on 2005/04/04 20:47:50 UTC

svn commit: r160081 - incubator/jdo/trunk/api20/src/java/javax/jdo/spi/PersistenceCapable.java

Author: clr
Date: Mon Apr  4 11:47:49 2005
New Revision: 160081

URL: http://svn.apache.org/viewcvs?view=rev&rev=160081
Log:
added static field PersistenceCapable.DETACHED

Modified:
    incubator/jdo/trunk/api20/src/java/javax/jdo/spi/PersistenceCapable.java

Modified: incubator/jdo/trunk/api20/src/java/javax/jdo/spi/PersistenceCapable.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/api20/src/java/javax/jdo/spi/PersistenceCapable.java?view=diff&r1=160080&r2=160081
==============================================================================
--- incubator/jdo/trunk/api20/src/java/javax/jdo/spi/PersistenceCapable.java (original)
+++ incubator/jdo/trunk/api20/src/java/javax/jdo/spi/PersistenceCapable.java Mon Apr  4 11:47:49 2005
@@ -62,6 +62,13 @@
      */
     static final byte LOAD_REQUIRED = 1;
     
+    /** If jdoFlags is set to DETACHED, then fields identified as loadedFields
+     * can be read and written without having a StateManager. Fields modified
+     * while detached are kept track of as modifiedFields.
+     * @since 2.0
+     */
+    static final byte DETACHED = 2;
+    
     /** If jdoFlags is set to READ_OK, then the fields in the default fetch group
      * can be accessed for read without notifying the StateManager.
      */