Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- String's (and Unicode's, UnicodeText's, etc.) convert_unicode logic disabled in the sqlite dialect, to adjust for pysqlite 2.5.0's new requirement that only Python unicode objects are accepted; http://itsystementwicklung.de/pipermail/list-pysqlite/2008-March/000018.html
Tags
rel_0_5rc2
Mike Bayer
reduce cruft related to serializable loaders
Mike Bayer
a much easier way to ArgSingleton
Michael Trier
Removed the visit_function stuff in mssql dialect. Added some tests for the function overrides. Fixed up the test_select in the sql/defaults.py tests which was a mess.
Michael Trier
Correction of mssql schema reflection in reflectable. Still a problem since the assumed default is dbo, whereas it could be modified by the connection. Allows SchemaTest.test_select to pass now.
Michael Trier
indicated that test_empty_insert fails on mssql since pyodbc returns a -1 always for the result.rowcount.
Michael Trier
Corrected docstring for Query.one. Fixes #1190.
Mike Bayer
- Oracle will detect string-based statements which contain comments at the front before a SELECT as SELECT statements. [ticket:1187]
Michael Trier
Added in sqlite3 DBAPI to the SQLite dbengine docs. This along with a wiki edit on Database Features should close #1145.
Michael Trier
Documented synonym_for and comparable_using in the main docstring for declarative. Fixes #1144.
Michael Trier
Corrected docs for declarative synonym incorrectly referring to instruments instead of descriptor.
Mike Bayer
fixed test for #1175
Mike Bayer
- fix outerjoin, add order_by for DB variance
Michael Trier
Change in #1165 tests to prevent MySQL from choking on a varchar without a length.
Michael Trier
Corrects issue where engine.execute raised exception when given empty list. Fixes #1175.
Mike Bayer
- using contains_eager() against an alias combined with an overall query alias repaired - the contains_eager adapter wraps the query adapter, not vice versa. Test coverage added. - contains_eager() will now add columns into the "primary" column collection within Query._compile_context(), instead of the "secondary" collection. This allows those columns to get wrapped within the subquery generated by limit/offset in conjunction with an ORM-generated eager join. Eager strategy also picks up…
Mike Bayer
- added a few more assertions for [ticket:1165] - removed non-2.5 partial.keywords, partial.name, etc., not sure what those are getting us here
Michael Trier
Didnt think about <2.5. When will I learn.
Michael Trier
Allowed column types to be callables. Fixes #1165.
Mike Bayer
- Adjustment to Session's post-flush accounting of newly "clean" objects to better protect against operating on objects as they're asynchronously gc'ed. [ticket:1182]
Mike Bayer
- identity_map._mutable_attrs is a plain dict since we manage weakref removal explicitly - call list() around iteration of _mutable_attrs to guard against async gc.collect() while check_modified() is running
Mike Bayer
the @property / __slots__ fairy pays a visit
Ants Aasma
Issue a better error message when someone decides to meddle with the active transaction from within a context manager.
Ants Aasma
Fixed session.transaction.commit() on a autocommit=False session not starting a new transaction. Moved starting a new transaction in case of previous closing into SessionTransaction.
Mike Bayer
- session.execute() will execute a Sequence object passed to it (regression from 0.4). - Removed the "raiseerror" keyword argument from object_mapper() and class_mapper(). These functions raise in all cases if the given class/instance is not mapped. - Refined ExtensionCarrier to be itself a dict, removed 'methods' accessor - moved identity_key tests to test/orm/utils.py - some docstrings
Mike Bayer
- Fixed up slices on Query (i.e. query[x:y]) to work properly for zero length slices, slices with None on either end. [ticket:1177]
jason kirtland
Tidy.
Mike Bayer
fixed custom TypeEngine example
jason kirtland
Fixed mysql TEMPORARY table reflection.
jason kirtland
- Fixed shared state bug interfering with ScopedSession.mapper's ability to apply default __init__ implementations on object subclasses.
  1. Prev
  2. Next