[ZODB-Dev] Storing Persistent Objects with Persistent Objects as attributes of the Parent PO

Patrick Hampton animusmontus at netzero.com
Sun Jun 6 15:06:31 EDT 2004


Lets say I have a class for game data and a class for player data. Both the
classes are stored off the root in "games" and "players". The game class
also has an attribute which will be set to a player class.

Question: When you commit a transaction on the game class, will it save the
attribute set to the player class as a reference to the player class which
is stored in "players" or will it write out that player class again in the
game class object.




More information about the ZODB-Dev mailing list