Commits

Author Commit Message Labels Comments Date
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
Mike Bayer
- [bug] removed an erroneous "raise" in the SQLite dialect when getting table names and view names, where logic is in place to fall back to an older version of SQLite that doesn't have the "sqlite_temp_master" table.
Mike Bayer
- [feature] Dialect-specific compilers now raise CompileException for all type/statement compilation issues, instead of InvalidRequestError or ArgumentError. The DDL for CREATE TABLE will re-raise CompileExceptions to include table/column information for the problematic column. [ticket:2361]
Mike Bayer
- [bug] Fixed bug where "merge" cascade could mis-interpret an unloaded attribute, if the load_on_pending flag were used with relationship(). Thanks to Kent Bower for tests. [ticket:2374]
Mike Bayer
- [bug] Fixed bug in "mock" strategy whereby correct DDL visit method wasn't called, resulting in "CREATE/DROP SEQUENCE" statements being duplicated [ticket:2384]
Mike Bayer
- [bug] Fixed issue where the "required" exception would not be raised for bindparam() with required=True, if the statement were given no parameters at all. [ticket:2381]
Mike Bayer
- [bug] Fixed bug where unpickled object didn't have enough of its state set up to work correctly within the unpickle() event established by the mutable object extension, if the object needed ORM attribute access within __eq__() or similar. [ticket:2362]
Mike Bayer
- [bug] Raise an exception if xyzload_all() is used inappropriately with two non-connected relationships. [ticket:2370]
Mike Bayer
- [bug] Fixed regression from 0.7.4 whereby using an already instrumented column from a superclass as "polymorphic_on" failed to resolve the underlying Column. [ticket:2345]
Mike Bayer
- [bug] Added a boolean check for the "finalize" function within the pool connection proxy's weakref callback before calling it, so that a warning isn't emitted that this function is None when the application is exiting and gc has removed the function from the module before the weakref callback was invoked. [ticket:2383]
  1. Prev
  2. Next