E&S CVS Commit: PEAK - SQL connection objects now provide an 'appConfig' attribute that is a

pje at eby-sarna.com pje at eby-sarna.com
Thu Oct 30 14:48:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Thu Oct 30 19:47:14 UTC 2003

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/storage: SQL.py interfaces.py

Log Message:
SQL connection objects now provide an 'appConfig' attribute that is a
driver-specific 'config.Namespace()'.  This allows you to easily set up
configuration properties that are driver-specific.  For example, you could
use properties to configure driver-specific SQL snippets, then access them
via the connection's 'appConfig' namespace.  The namespaces are of the form
'DRIVER.appConfig', where 'DRIVER' is the name of the DBAPI module for that
connection type (e.g. 'pgdb', 'cx_Oracle', etc.).


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.89&r2=1.90
http://cvs.eby-sarna.com/PEAK/src/peak/storage/SQL.py.diff?r1=1.59&r2=1.60
http://cvs.eby-sarna.com/PEAK/src/peak/storage/interfaces.py.diff?r1=1.32&r2=1.33

To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 PEAK/CHANGES.txt
cvs rdiff -r1.59 -r1.60 PEAK/src/peak/storage/SQL.py
cvs rdiff -r1.32 -r1.33 PEAK/src/peak/storage/interfaces.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list