Index: waeup/branches/ulif-rewrite/src/waeup/datacenter.py
===================================================================
--- waeup/branches/ulif-rewrite/src/waeup/datacenter.py	(revision 4183)
+++ waeup/branches/ulif-rewrite/src/waeup/datacenter.py	(revision 4184)
@@ -144,9 +144,16 @@
         memory only and will vanish as soon as the request is over. In
         this case we can use the memory address of it.
+
+        Both, the id() result and the ZODB oid, are actually integers
+        which we return as strings. To make the difference chrystal
+        clear, we prepend ``z`` to ids taken from ZODB oids.
         """
         if not hasattr(obj, '_p_oid'):
             return str(id(obj))
         oid = getattr(obj, '_p_oid')
-        return str(struct.unpack('>Q', oid)[0])
+        if oid is None:
+            # The persistent object is not stored in the ZODB
+            return str(id(obj))
+        return 'z%s' % struct.unpack('>Q', oid)[0]
 
         
