Commits

Author Commit Message Labels Comments Date
Mike Bayer
- [bug] Fixed bug whereby if a method name conflicted with a column name, a TypeError would be raised when the mapper tried to inspect the __get__() method on the method object. [ticket:2352]
Mike Bayer
- [bug] Fixed bug in new "autoload_replace" flag which would fail to preserve the primary key constraint of the reflected table. [ticket:2402]
Mike Bayer
- Added missing compilation support for LONG [ticket:2401] - broke out oracle tests for types that only require dialect
Mike Bayer
- add a context manager availble via Engine.begin() - add a test suite for all the Engine/Connection/TLEngine transaction/begin helpers/context managers - update docs
Mike Bayer
document identity_map
Mike Bayer
this is the actual case that #1401 will fix. confirmed broken in 0.7
Mike Bayer
declarartive reflection example didn't actually work for single inheritance, added a tweak to make that possible
Mike Bayer
some work on the #1401 branch has discovered that this very old test is pointless; it slightly exercises post_update but not much compared to modern tests, and also illustrates a mapping that doesn't actually work currently.
Mike Bayer
- [bug] Added support for using the .key of a Column as a string identifier in a result set row. The .key is currently listed as an "alternate" name for a column, and is superseded by the name of a column which has that key value as its regular name. For the next major release of SQLAlchemy we may reverse this precedence so that .key takes precedence, but this is not decided on yet. [ticket:2392]
Mike Bayer
callcount adjust
Mike Bayer
- [bug] A significant change to how labeling is applied to columns in SELECT statements allows "truncated" labels, that is label names that are generated in Python which exceed the maximum identifier length (note this is configurable via label_length on create_engine()), to be properly referenced when rendered inside of a subquery, as well as to be present in a result set row using their original in-Python names. [ticket:2396] - apply pep8 to test_labels
Mike Bayer
- add a warning regarding tuple.in_(), [ticket:2395] - cleanup of exc.DBAPIError docstrings
Mike Bayer
accept the symbols so recreate works
Mike Bayer
- [feature] Added pool_reset_on_return argument to create_engine, allows control over "connection return" behavior. Also added new arguments 'rollback', 'commit', None to pool.reset_on_return to allow more control over connection return activity. [ticket:2378]
Mike Bayer
fix an inadvertent abuse of variable scope
Mike Bayer
break out _save_obj(), _delete_obj(), _post_update() into a new module persistence.py - Mapper loses awareness of how to emit INSERT/UPDATE/DELETE, persistence.py is only used by unitofwork.py. Then break each method out into a top level with almost no logic, calling into _organize_states_for_XYZ(), _collect_XYZ_commands(), _emit_XYZ_statements().
Mike Bayer
- [bug] Scaled back the test applied within flush() to check for UPDATE against partially NULL PK within one table to only actually happen if there's really an UPDATE to occur. [ticket:2390]
Mike Bayer
attempt to use the secret weapon to force a total rebuild
Mike Bayer
- [bug] Improved the "declarative reflection" example to support single-table inheritance, multiple calls to prepare(), tables that are present in alternate schemas, establishing only a subset of classes as reflected.
Mike Bayer
Added tag rel_0_7_5 for changeset ebe9514a69a4
Mike Bayer
get ready for release 0.7.5
Tags
rel_0_7_5
Mike Bayer
declarative reflection example
Mike Bayer
- [feature] New declarative reflection example added, illustrates how best to mix table reflection with declarative as well as uses some new features from [ticket:2356].
Mike Bayer
modernize adjacency list example, use declarative
Mike Bayer
fix a usage issue here
Mike Bayer
another py3k fix
Mike Bayer
mark this test as unsupported before 2.6, there's some unicode issue I'm not exactly sure of what nature it is
Mike Bayer
- [feature] New reflection feature "autoload_replace"; when set to False on Table, the Table can be autoloaded without existing columns being replaced. Allows more flexible chains of Table construction/reflection to be constructed, including that it helps with combining Declarative with table reflection. See the new example on the wiki. [ticket:2356] - [bug] Improved the API for add_column() such that if the same column is added to its own table, an error is not raised and the constraints don't get doubled up. Also helps with some reflection/declarative patterns. [ticket:2356]
Mike Bayer
fix a few py3k bugs
Mike Bayer
then merge this
  1. Prev
  2. Next