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 @@
</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
......
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