Commits

Show all
Author Commit Message Labels Comments Date
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]
Mike Bayer
- [bug] Changed LRUCache, used by the mapper to cache INSERT/UPDATE/DELETE statements, to use an incrementing counter instead of a timestamp to track entries, for greater reliability versus using time.time(), which can cause test failures on some platforms. [ticket:2379]
Mike Bayer
- [bug] implemented standard "can't set attribute" / "can't delete attribute" AttributeError when setattr/delattr used on a hybrid that doesn't define fset or fdel. [ticket:2353]
Mike Bayer
move most tests that are specific to SessionTransaction over to test_transaction
Mike Bayer
- [bug] Fixed issue where modified session state established after a failed flush would be committed as part of the subsequent transaction that begins automatically after manual call to rollback(). The state of the session is checked within rollback(), and if new state is present, a warning is emitted and restore_snapshot() is called a second time, discarding those changes. [ticket:2389] - repaired testing.assert_warnings to also verify that any warnings were emitted
Mike Bayer
typo
Mike Bayer
clarify this point
Mike Bayer
modernize the README
Mike Bayer
- [bug] Added ORA-03135 to the never ending list of oracle "connection lost" errors [ticket:2388]
Mike Bayer
play the hg dance with pjenvey
Mike Bayer
add a thing about migration tools
Philip Jenvey
o null check PyObject_Repr results o limit size of strings passed to PyErr_Format
  1. Prev
  2. Next