tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r541114 - /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityEjbObjectHandler.java
Date Wed, 23 May 2007 22:56:08 GMT
Author: dain
Date: Wed May 23 15:56:07 2007
New Revision: 541114

URL: http://svn.apache.org/viewvc?view=rev&rev=541114
Log:
Entity references can't be invalidated as they will automatically connect to a new instance
on the server

Modified:
    incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityEjbObjectHandler.java

Modified: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityEjbObjectHandler.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityEjbObjectHandler.java?view=diff&rev=541114&r1=541113&r2=541114
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityEjbObjectHandler.java
(original)
+++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/entity/EntityEjbObjectHandler.java
Wed May 23 15:56:07 2007
@@ -96,4 +96,9 @@
         return value;
     }
 
+    public void invalidateReference() {
+        // entity bean object references should not be invalidated since they
+        // will automatically hook up to a new instance of the bean using the
+        // primary key (we will load a new instance from the db)
+    }
 }



Mime
View raw message