E&S CVS Commit: PEAK - SQL connection objects now get their type converters from a distinct

pje at eby-sarna.com pje at eby-sarna.com
Wed Oct 29 16:00:01 EST 2003

Module Name:	PEAK
Committed By:	pje
Date:		Wed Oct 29 20:59:20 UTC 2003

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

Log Message:
SQL connection objects now get their type converters from a distinct
property namespace for each DBAPI driver.  For example a driver using the
'cx_Oracle' module will get its type converters from the
'cx_Oracle.sql_types' property namespace, instead of 'peak.sql_types'.  For
backward compatibility, these driver-specific namespaces are set up to
fall back to 'peak.sql_types' for their defaults.  Type converter
construction has also been improved, to eliminate conversion overhead
completely when no conversions are required for a specific query.  Also,
SQL connections now offer a method that will create a row conversion
function for a given result description and optional postprocessing
function.  This new method should now be used in place of direct access to
the 'typeMap' attribute of connection objects.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.86 -r1.87 PEAK/CHANGES.txt
cvs rdiff -r1.78 -r1.79 PEAK/src/peak/peak.ini
cvs rdiff -r1.56 -r1.57 PEAK/src/peak/storage/SQL.py
cvs rdiff -r1.31 -r1.32 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