Index: /trunk/packages/sipb-xen-database/sipb-xen-database/sipb_xen_database/models.py
===================================================================
--- /trunk/packages/sipb-xen-database/sipb-xen-database/sipb_xen_database/models.py	(revision 286)
+++ /trunk/packages/sipb-xen-database/sipb-xen-database/sipb_xen_database/models.py	(revision 287)
@@ -97,2 +97,10 @@
 assign_mapper(ctx, Type, types_table)
 assign_mapper(ctx, CDROM, cdroms_table)
+
+def clear_cache():
+    """Clear sqlalchemy's cache.
+
+    This _seems_ to be the way; it works, but the docs don't mention
+    it.  Why is this so obscure?"""
+
+    ctx.registry.clear()
