Package Modeling :: Module Database
[show private | hide private]
[frames | no frames]

Module Modeling.Database

Database

Defined Constants

'DistantPastTimeInterval': the lowest possible timestamp

Exceptions:

'GeneralDatabaseException'

Notifications:

ObjectStore.ObjectsChangedInStoreNotification

CVS information

$Id: Database.py,v 1.11 2004/07/20 06:21:36 sbigaret Exp $

Classes
Database corresponds to one DB server

Exceptions
GeneralDatabaseException  

Function Summary
  databaseForAdaptor(anAdaptor)
Database factory -- Equivalent to 'Database(anAdaptor=anAdaptor)'
  databaseForModel(aModel)
Database factory -- Equivalent to 'Database(aModel=aModel)'
  disableSnapshotRefCounting()
Disables the snapshot refcounting in 'Databases' instances.
  isSnapshotRefCountingEnabled()
Tells whether snapshot refCounting is enabled in 'Databases' instances.

Function Details

databaseForAdaptor(anAdaptor)

Database factory -- Equivalent to 'Database(anAdaptor=anAdaptor)'

databaseForModel(aModel)

Database factory -- Equivalent to 'Database(aModel=aModel)'

disableSnapshotRefCounting()

Disables the snapshot refcounting in 'Databases' instances. Note that once it has been disabled, the snapshot refcounting cannot be re-enabled.

isSnapshotRefCountingEnabled()

Tells whether snapshot refCounting is enabled in 'Databases' instances. Note that once it has been disabled, the snapshot refcounting cannot be re-enabled.

Generated by Epydoc 2.1 on Sat Mar 4 13:36:24 2006 http://epydoc.sf.net