Closed zzzeek closed 6 years ago
Original comment by Michael Bayer (Bitbucket: zzzeek, GitHub: zzzeek):
the "pk_" prefix is superfluous; i removed it in changeset:1722.
if you try out the trunk with oracle, be advised there is a change to the workings of foreign keys with regards to table creation which I havent tested out yet (is probably fine).
Originally reported by: Anonymous
The name of bind parameter can get over 30 characters on occasion and Oracle does not like it. If label is already at 30 the source:/sqlalchemy/trunk/lib/sqlalchemy/orm/query.py line 29 will push it over the limit.
One could generate shorter label names in source:/sqlalchemy/trunk/lib/sqlalchemy/sql.py:
or prepend something shorter that 'pk_':