[ZODB-Dev] Proposal: cross database reference seat belt

2009-04-28 Thread Shane Hathaway
Problem --- In multi-database configurations, ZODB applications can unintentionally create cross-database references. The causes include moving (rather than copying) an object between containers, storing an object in a session database and later moving it to the main database, and using a

Re: [ZODB-Dev] Proposal: cross database reference seat belt

2009-04-28 Thread Jim Fulton
Thanks for writing this up! Do we really need per-object control? It would be simpler to simply allow or disallow (new) cross-data references at the database level. I think the most common use case for cross-database connection limitation is support for mounts. With mounts, there are a

Re: [ZODB-Dev] Proposal: cross database reference seat belt

2009-04-28 Thread Shane Hathaway
Jim Fulton wrote: Thanks for writing this up! Do we really need per-object control? It would be simpler to simply allow or disallow (new) cross-data references at the database level. I think the most common use case for cross-database connection limitation is support for mounts.

Re: [ZODB-Dev] Proposal: cross database reference seat belt

2009-04-28 Thread Jim Fulton
On Apr 28, 2009, at 11:36 AM, Shane Hathaway wrote: Jim Fulton wrote: Thanks for writing this up! Do we really need per-object control? It would be simpler to simply allow or disallow (new) cross-data references at the database level. I think the most common use case for cross-database