Commit b06d80a6 authored by Shane Hathaway's avatar Shane Hathaway

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.
parent 90e30f6b
...@@ -153,8 +153,7 @@ ...@@ -153,8 +153,7 @@
</description> </description>
</multikey> </multikey>
<key name="connection-class" datatype=".importable_name" <key name="connection-class" datatype=".importable_name">
default="ZODB.Connection.Connection">
<description> <description>
Change the connection class a database uses on a per-database basis to Change the connection class a database uses on a per-database basis to
support different connection policies. Use a Python dotted-path support different connection policies. Use a Python dotted-path
...@@ -162,7 +161,8 @@ ...@@ -162,7 +161,8 @@
</description> </description>
</key> </key>
<key name="class-factory" datatype=".importable_name"> <key name="class-factory" datatype=".importable_name"
default="DBTab.ClassFactories.autoClassFactory">
<description> <description>
Change the class factory function a database uses on a Change the class factory function a database uses on a
per-database basis to support different class factory policy. per-database basis to support different class factory policy.
...@@ -611,7 +611,7 @@ ...@@ -611,7 +611,7 @@
</description> </description>
</key> </key>
<multisection type="zodb_db" name="+" attribute="databases"> <multisection type="ZODB.Database" name="+" attribute="databases">
<description> <description>
Zope ZODB databases must have a name, and they are required to be Zope ZODB databases must have a name, and they are required to be
referenced via the "zodb_db" database type because it is referenced via the "zodb_db" database type because it is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment