Skip to main content

Fixes for the SQLAlchemy 0.4 and 0.5 Oracle driver

Project description

collective.saoraclefixes

Fix SQLAlchemy 0.4 and 0.5 Oracle quoting problems.

Monkeypatches SQLAlchemy’s Oracle driver to add Oracle reserved words, and to implement quoting of bindparameters. These fixes are a partial backport from the 0.6 release branch.

To use, simply add an import to this package:

import collective.saoraclefixes # apply oracle fixes

Note that the patches will only apply when SQLAlchemy versions 0.4 and 0.5 are used. All patching activity will be logged via python’s logger module with loglevel DEBUG.

Note that the oracle reserved words list in this package is a superset of the list in SQLAlchemy 0.6 (at least until SQLAlchemy branches/rel_0_6 r6245). This package includes semi-reserved identifiers as defined by the Oracle V$RESERVED_WORDS view

License

collective.saoraclefixes is distributed under the MIT license, just like SQLAlchemy.

Credits

Backporting work

Martijn Pieters at Jarn

Changelog

1.0 - 2009-08-05

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.saoraclefixes-1.0.zip (9.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page