:released: Sat Aug 12 2006
.. change::
:tags:
:tickets:
quoting facilities set up so that database-specific quoting can be
turned on for individual table, schema, and column identifiers when
used in all queries/creates/drops. Enabled via "quote=True" in
Table or Column, as well as "quote_schema=True" in Table. Thanks to
Aaron Spike for the excellent efforts.
.. change::
:tags:
:tickets:
assignmapper was setting is_primary=True, causing all sorts of mayhem
by not raising an error when redundant mappers were set up, fixed
.. change::
:tags:
:tickets:
added allow_null_pks option to Mapper, allows rows where some
primary key columns are null (i.e. when mapping to outer joins etc)
.. change::
:tags:
:tickets:
modification to unitofwork to not maintain ordering within the
"new" list or within the UOWTask "objects" list; instead, new objects
are tagged with an ordering identifier as they are registered as new
with the session, and the INSERT statements are then sorted within the
mapper save_obj. the INSERT ordering has basically been pushed all
the way to the end of the flush cycle. that way the various sorts and
organizations occurring within UOWTask (particularly the circular task
sort) don't have to worry about maintaining order (which they weren't anyway)
.. change::
:tags:
:tickets:
fixed reflection of foreign keys to autoload the referenced table
if it was not loaded already
.. change::
:tags:
:tickets: 256
- pass URL query string arguments to connect() function
.. change::
:tags:
:tickets: 257
- oracle boolean type
.. change::
:tags:
:tickets:
custom primary/secondary join conditions in a relation *will* be propagated
to backrefs by default. specifying a backref() will override this behavior.
.. change::
:tags:
:tickets:
better check for ambiguous join conditions in sql.Join; propagates to a
better error message in PropertyLoader (i.e. relation()/backref()) for when
the join condition can't be reasonably determined.
.. change::
:tags:
:tickets:
sqlite creates ForeignKeyConstraint objects properly upon table
reflection.
.. change::
:tags:
:tickets: 224
adjustments to pool stemming from changes made for.
overflow counter should only be decremented if the connection actually
succeeded. added a test script to attempt testing this.
.. change::
:tags:
:tickets:
fixed mysql reflection of default values to be PassiveDefault
.. change::
:tags:
:tickets: 263, 264
added reflected 'tinyint', 'mediumint' type to MS-SQL.
.. change::
:tags:
:tickets:
SingletonThreadPool has a size and does a cleanup pass, so that
only a given number of thread-local connections stay around (needed
for sqlite applications that dispose of threads en masse)
.. change::
:tags:
:tickets: 267, 265
fixed small pickle bug(s) with lazy loaders
.. change::
:tags:
:tickets:
fixed possible error in mysql reflection where certain versions
return an array instead of string for SHOW CREATE TABLE call
.. change::
:tags:
:tickets: 1770
fix to lazy loads when mapping to joins
.. change::
:tags:
:tickets:
all create()/drop() calls have a keyword argument of "connectable".
"engine" is deprecated.
.. change::
:tags:
:tickets:
fixed ms-sql connect() to work with adodbapi
.. change::
:tags:
:tickets:
added "nowait" flag to Select()
.. change::
:tags:
:tickets: 271
inheritance check uses issubclass() instead of direct __mro__ check
to make sure class A inherits from B, allowing mapper inheritance to more
flexibly correspond to class inheritance
.. change::
:tags:
:tickets: 252
SelectResults will use a subselect, when calling an aggregate (i.e.
max, min, etc.) on a SelectResults that has an ORDER BY clause
.. change::
:tags:
:tickets: 269
fixes to types so that database-specific types more easily used;
fixes to mysql text types to work with this methodology
.. change::
:tags:
:tickets:
some fixes to sqlite date type organization
.. change::
:tags:
:tickets: 263
added MSTinyInteger to MS-SQL
.. changelog::