Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- added support for version_id_col in conjunction with inheriting mappers. version_id_col is typically set on the base mapper in an inheritance relationship where it takes effect for all inheriting mappers. [ticket:883] - a little rearrangement of save_obj()
Mike Bayer
- adjustment to the previous checkin regarding inheritance to not conflict with globals - fix to self-referential eager loading such that if the same mapped instance appears in two or more distinct sets of columns in the same result set, its eagerly loaded collection will be populated regardless of whether or not all of the rows contain a set of "eager" columns for that collection. this would also show up as a KeyError when fetching results with join_depth turned on.
Mike Bayer
- fixed bug where Query would not apply a subquery to the SQL when LIMIT was used in conjunction with an inheriting mapper where the eager loader was only in the parent mapper.
Mike Bayer
cleanup
Mike Bayer
fixed unicode-ness for Unicode values
Mike Bayer
- fixed bug which could arise when using session.begin_nested() in conjunction with more than one level deep of enclosing session.begin() statements
Mike Bayer
new synonym() behavior, including auto-attribute gen, attribute decoration, and auto-column mapping implemented; [ticket:801]
Mike Bayer
default value of assert_unicode is None on String, False on create_engine(), and True on Unicode type.
Mike Bayer
- column labels in the form "tablename.columname", i.e. with a dot, are now supported.
Mike Bayer
opened up the test for "reflection with convert_unicode=True". this is since convert_unicode by default has assert_unicode, want to ensure that other dialects (at least oracle) support this (i.e. not unicode schema names themselves, just that they dont sent thru bytestrings to a String). if maxdb or sybase *should* be able to handle this too though I can't test on this end.
Mike Bayer
added None to support zope __provides__, [ticket:882]
Mike Bayer
added a test to validate ResultProxy truncation behavior
Mike Bayer
un-screw up the attribute manager checkin
Mike Bayer
fixed reflection of unicode, [ticket:881]
Mike Bayer
AttributeManager class and "cached" state removed....attribute listing is tracked from _sa_attrs class collection
paj
Fix: MSSQL set identity_insert and errors [ticket:538]
Mike Bayer
- check for NoneType too with unicode.... - fixed ORM tests to have proper unicode
paj
MSSQL doesn't support subqueries in insert values; disable test
paj
Fix: test_decimal on MSSQL - use a value that is accurately represented as a float, and make when asdecimal=False, convert Decimal to float
Mike Bayer
edits
paj
Fix: MSSQL concatenate operator is + not || [ticket:879]
Mike Bayer
- added new flag to String and create_engine(), assert_unicode=(True|False|None). When convert_unicode=True, this flag also defaults to `True`, and results in all unicode conversion operations raising an exception when a non-unicode bytestring is passed as a bind parameter. It is strongly advised that all unicode-aware applications make proper use of Python unicode objects (i.e. u'hello' and not 'hello').
paj
Avoid doubling quoting of identifier in MSSQL reflection
paj
Make function a reserved word in MSSQL
paj
MSSQL/PyODBC no longer has a global set nocount on
paj
Change to make PyODBC result fetching a bit more reliable
paj
column.foreign_key -> foreign_keys in MSSQL
Mike Bayer
bump for py2.4
Mike Bayer
OrderedSet to appease the unit tests....need to find a way to get rid of this
Mike Bayer
- named_with_column becomes an attribute - cleanup within compiler visit_select(), column labeling - is_select() removed from dialects, replaced with returns_rows_text(), returns_rows_compiled() - should_autocommit() removed from dialects, replaced with should_autocommit_text() and should_autocommit_compiled() - typemap and column_labels collections removed from Compiler, replaced with single "result_map" collection. - ResultProxy uses m…
  1. Prev
  2. Next