summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-10-14 21:53:44 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-10-15 11:57:19 -0400
commite4a5da1c5a4ed038c1c28f236e2e963b27554549 (patch)
tree33c4407fcf735412959c8b657a035848bc88013e /lib/sqlalchemy/orm/base.py
parent567ee8d6a90a150e5079fc6d1cdad2734172e2e7 (diff)
downloadsqlalchemy-e4a5da1c5a4ed038c1c28f236e2e963b27554549.tar.gz
Use cx_Oracle.FIXED_NCHAR for sqltypes.NCHAR
The :class:`.sqltypes.NCHAR` datatype will now bind to the ``cx_Oracle.FIXED_NCHAR`` DBAPI data bindings when used in a bound parameter, which supplies proper comparison behavior against a variable-length string. Previously, the :class:`.sqltypes.NCHAR` datatype would bind to ``cx_oracle.NCHAR`` which is not fixed length; the :class:`.sqltypes.CHAR` datatype already binds to ``cx_Oracle.FIXED_CHAR`` so it is now consistent that :class:`.sqltypes.NCHAR` binds to ``cx_Oracle.FIXED_NCHAR``. Fixes: #4913 Change-Id: I5bb111f2e06bbdd525bc5f716579baad31bbb3db
Diffstat (limited to 'lib/sqlalchemy/orm/base.py')
0 files changed, 0 insertions, 0 deletions