db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r160081 - incubator/jdo/trunk/api20/src/java/javax/jdo/spi/PersistenceCapable.java
Date Mon, 04 Apr 2005 18:47:50 GMT
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.
      */



Mime
View raw message