Commits

Author Commit Message Labels Comments Date
Mike Bayer
mass load wont overwrite modified expired attributes
Mike Bayer
broke up various class-level mapper/instance fanfare into class_level_loader; load-time setup_loader just returns a loader object with no checks
Mike Bayer
- reworked all lazy/deferred/expired callables to be serializable class instances, added pickling tests - cleaned up "deferred" polymorphic system so that the mapper handles it entirely - columns which are missing from a Query's select statement now get automatically deferred during load.
Mike Bayer
- inheriting mappers now inherit the MapperExtensions of their parent mapper directly, so that all methods for a particular MapperExtension are called for subclasses as well. As always, any MapperExtension can return either EXT_CONTINUE to continue extension processing or EXT_STOP to stop processing. The order of mapper resolution is: <extensions declared on the classes mapper> <extensions declared on the classes' parent mapper> <globally declared extensions>. Note that if you instantiate the same extension class separately and then apply it individually for two mappers in the same inheritance chain, the extension will be applied twice to the inheriting class, and each method will be called twice. To apply a mapper extension explicitly to each inheriting class but have each method called only once per operation, use the same instance of the extension f…
Mike Bayer
- sqlite SLDate type will not erroneously render "microseconds" portion of a datetime or time object when sent to the DB.
ram
forgot CHANGES
ram
Fix for autoload of non-identity PK integer columns [824] Better datetime checking/conversion for pyodbc adodbapi [842] Fix for autoloading schema-qualified tables [901] Convert_unicode support for all dialects [839]
jason kirtland
- Re-raise SystemExit et al in _ConnectionRecord.close - Little code cleanup- decreased verbosity of string formatting.
Mike Bayer
- auto-reconnect support improved; a Connection can now automatically reconnect after its underlying connection is invalidated, without needing to connect() again from the engine. This allows an ORM session bound to a single Connection to not need a reconnect. Open transactions on the Connection must be rolled back after an invalidation of the underlying connection else an error is raised. Also fixed bug where disconnect detect was not being called for cursor(), r…
Lele Gaifax
Fix the unpacking of the refered table name under Firebird This fixes a little glitch introduced in [3959], in case of "implicit FKs" (that is, {{{ForeignKey("orders")}}}, where the field(s) is missing).
Mike Bayer
introductory docstring bonanza
jason kirtland
Apply default cascade rules for firebird self-ref ForeignKeys.
Mike Bayer
a little pre-lunch decrufting and cleanup
Lele Gaifax
Use an explicit ordering in the query
Lele Gaifax
Add Firebird to the list of DBs that needs explicit sequences
Mike Bayer
get most oracle tests in sql working again....
Mike Bayer
- cleanup; lambdas removed from properties; properties mirror same-named functions (more like eventual decorator syntax); remove some old methods, factor out some "raiseerr" ugliness to outer lying functions. - corresponding_column() integrates "require_embedded" flag with other set arithmetic
Mike Bayer
- select().as_scalar() will raise an exception if the select does not have exactly one expression in its columns clause. - added "helper exception" to select.type access, generic functions raise the chance of this happening - a slight behavioral change to attributes is, del'ing an attribute does *not* cause the lazyloader of that attribute to fire off again; the "del" makes the effective value of the attribute "None". To re-trigger the "loader" for an attribute, use ses…
Mike Bayer
fixed del history
Mike Bayer
after_update called with state.obj()
Mike Bayer
- more fixes to the LIMIT/OFFSET aliasing applied with Query + eagerloads, in this case when mapped against a select statement [ticket:904] - _hide_froms logic in expression totally localized to Join class, including search through previous clone sources - removed "stop_on" from main visitors, not used - "stop_on" in AbstractClauseProcessor part of constructor, ClauseAdapter sets it up based on given clause - fixes to is_derived_from() to take previous clone sources into…
Lele Gaifax
Fix bad example of Firebird test DB Use an absolute path rather than a relative one, and the out-of-the-box sysdba password. This is just to avoid confusing new testers, that should add a db.firebird entry in their ~/satest.cfg anyway.
Mike Bayer
moved hide_froms and aggregate_hide_froms to be only on FromClause
Lele Gaifax
Revert to use default poolclass under Firebird This partially reverts [3562] and instead documents the problem suggesting a possible workaround. For the tests, the occurence of the problem is largely reduced by using a TCP connection (that is, 'localhost:/some/file.fdb' instead of '/some/file.fdb')
Lele Gaifax
Remove some spurious spaces
Lele Gaifax
Fixed minor reST issue
Lele Gaifax
Documentation markup and a few typos
Lele Gaifax
Implemented FBDialect.server_version_info()
Mike Bayer
oof...unicode object still needs to return the value if it just warned...
Mike Bayer
oof, history on collections were wrong. fixed byroot_tree test as well
  1. Prev
  2. Next