[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - zopeschema.xml:1.16

Shane Hathaway shane@zope.com
Sat, 2 Aug 2003 13:01:24 -0400


Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv981

Modified Files:
	zopeschema.xml 
Log Message:
Tweaked Zope database schema.

- Use autoClassFactory by default.  This is better for mounted databases
  than the default.

- Don't specify a default connection class; let the database decide the
  default.

- Allow database types other than zodb_db.



=== Zope/lib/python/Zope/Startup/zopeschema.xml 1.15 => 1.16 ===
--- Zope/lib/python/Zope/Startup/zopeschema.xml:1.15	Thu Jul 24 16:27:56 2003
+++ Zope/lib/python/Zope/Startup/zopeschema.xml	Sat Aug  2 13:01:20 2003
@@ -153,8 +153,7 @@
       </description>
     </multikey>
 
-    <key name="connection-class" datatype=".importable_name"
-              default="ZODB.Connection.Connection">
+    <key name="connection-class" datatype=".importable_name">
       <description>
        Change the connection class a database uses on a per-database basis to
        support different connection policies.  Use a Python dotted-path
@@ -162,7 +161,8 @@
       </description>
     </key>
 
-   <key name="class-factory" datatype=".importable_name">
+   <key name="class-factory" datatype=".importable_name"
+        default="DBTab.ClassFactories.autoClassFactory">
       <description>
        Change the class factory function a database uses on a
        per-database basis to support different class factory policy.
@@ -611,7 +611,7 @@
     </description>
   </key>
 
-  <multisection type="zodb_db" name="+" attribute="databases">
+  <multisection type="ZODB.Database" name="+" attribute="databases">
     <description>
        Zope ZODB databases must have a name, and they are required to be
        referenced via the "zodb_db" database type because it is