]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
14 years ago - Identity map .discard() uses dict.pop(,None)
Mike Bayer [Fri, 9 Sep 2011 20:11:13 +0000 (16:11 -0400)] 
  - Identity map .discard() uses dict.pop(,None)
    internally instead of "del" to avoid KeyError/warning
    during a non-determinate gc teardown [ticket:2267]

14 years ago - Behavioral improvement: empty
Mike Bayer [Fri, 9 Sep 2011 20:03:23 +0000 (16:03 -0400)] 
  - Behavioral improvement: empty
    conjunctions such as and_() and or_() will be
    flattened in the context of an enclosing conjunction,
    i.e. and_(x, or_()) will produce 'X' and not 'X AND
    ()'. [ticket:2257].

14 years ago- Fixed bug whereby if __eq__() was
Mike Bayer [Fri, 9 Sep 2011 19:51:40 +0000 (15:51 -0400)] 
- Fixed bug whereby if __eq__() was
redefined, a relationship many-to-one lazyload
would hit the __eq__() and fail.  [ticket:2260]
Does not apply to 0.6.9.

14 years agofix typo, [ticket:2271]
Mike Bayer [Tue, 6 Sep 2011 13:51:18 +0000 (09:51 -0400)] 
fix typo, [ticket:2271]

14 years ago- Fixed bug regarding calculation of "from" list
Mike Bayer [Mon, 5 Sep 2011 23:12:12 +0000 (19:12 -0400)] 
- Fixed bug regarding calculation of "from" list
for a select() element.  The "from" calc is now
delayed, so that if the construct uses a Column
object that is not yet attached to a Table,
but is later associated with a Table, it generates
SQL using the table as a FROM.   This change
impacted fairly deeply the mechanics of how
the FROM list as well as the "correlates" collection
is calculated, as some "clause adaption" schemes
(these are used very heavily in the ORM)
were relying upon the fact that the "froms"
collection would typically be cached before the
adaption completed.   The rework allows it
such that the "froms" collection can be cleared
and re-generated at any time.  [ticket:2261]
- RelationshipProperty.Comparator._criterion_exists()
adds an "_orm_adapt" annotation to the correlates target,
to work with the change in [ticket:2261].   It's not clear
if the change to correlation+adaption mechanics will affect end user
code yet.
- FromClause now uses group_expirable_memoized_property for
late-generated values like primary key, _columns, etc.
The Select class adds some tokens to this object and has the
nice effect that FromClause doesn't need to know about
Select's names anymore.   An additional change might be to
have Select use a different group_expirable_memoized_property
so that it's collection of attribute names are specific to
Select though this isn't really necessary right now.

14 years agoand lets use the right method name here...
Mike Bayer [Thu, 25 Aug 2011 13:40:52 +0000 (09:40 -0400)] 
and lets use the right method name here...

14 years agoadd more discouragment from using before_/after_ mapper events for anything ORM-heavy
Mike Bayer [Thu, 25 Aug 2011 12:53:32 +0000 (08:53 -0400)] 
add more discouragment from using before_/after_ mapper events for anything ORM-heavy

14 years agodocument pool ping recipe
Mike Bayer [Wed, 24 Aug 2011 14:58:06 +0000 (10:58 -0400)] 
document pool ping recipe

14 years agowho knew we already had a test for that
Mike Bayer [Mon, 22 Aug 2011 15:26:52 +0000 (11:26 -0400)] 
who knew we already had a test for that

14 years ago- Improvement to multi-param statement logging,
Mike Bayer [Mon, 22 Aug 2011 15:12:36 +0000 (11:12 -0400)] 
- Improvement to multi-param statement logging,
long lists of bound parameter sets will be
compressed with an informative indicator
of the compression taking place.  Exception
messages use the same improved formatting.
[ticket:2243]

14 years agoundo accidental patch commit
Mike Bayer [Thu, 18 Aug 2011 17:03:30 +0000 (13:03 -0400)] 
undo accidental patch commit

14 years agodocument autocommit when using the compiler extension, update the "understanding...
Mike Bayer [Thu, 18 Aug 2011 17:02:30 +0000 (13:02 -0400)] 
document autocommit when using the compiler extension, update the "understanding autocommit" section

14 years agodocument session bind resolution order
Mike Bayer [Wed, 17 Aug 2011 18:55:21 +0000 (14:55 -0400)] 
document session bind resolution order

14 years ago - Extra keyword arguments to the base Float
Mike Bayer [Tue, 16 Aug 2011 22:31:49 +0000 (18:31 -0400)] 
  - Extra keyword arguments to the base Float
    type beyond "precision" and "asdecimal" are ignored;
    added a deprecation warning here and additional
    docs, related to [ticket:2258]

14 years ago- Added a slightly nicer __repr__() to SchemaItem
Mike Bayer [Sun, 14 Aug 2011 16:20:54 +0000 (12:20 -0400)] 
- Added a slightly nicer __repr__() to SchemaItem
classes.  Note the repr here can't fully support
the "repr is the constructor" idea since schema
items can be very deeply nested/cyclical, have
late initialization of some things, etc.
[ticket:2223]

14 years ago - The recreate() method in all pool classes uses
Mike Bayer [Sun, 14 Aug 2011 15:55:32 +0000 (11:55 -0400)] 
  - The recreate() method in all pool classes uses
    self.__class__ to get at the type of pool
    to produce, in the case of subclassing.  Note
    there's no usual need to subclass pools.
    [ticket:2254]

14 years ago- add docstrings for defer(), undefer(), improve name "keys" to be "key"
Mike Bayer [Sun, 14 Aug 2011 15:36:17 +0000 (11:36 -0400)] 
- add docstrings for defer(), undefer(), improve name "keys" to be "key"
to reduce confusion, [ticket:2250]

14 years ago - Fixed regression in new composite rewrite where
Mike Bayer [Sun, 14 Aug 2011 15:18:08 +0000 (11:18 -0400)] 
  - Fixed regression in new composite rewrite where
    deferred=True option failed due to missing
    import [ticket:2253]

14 years agothis test only runs for PG
Mike Bayer [Sat, 13 Aug 2011 02:58:46 +0000 (22:58 -0400)] 
this test only runs for PG

14 years ago- add test profiling merge() behavior when merging lots of bidirectional collections...
Mike Bayer [Sat, 13 Aug 2011 02:48:40 +0000 (22:48 -0400)] 
- add test profiling merge() behavior when merging lots of bidirectional collections/m2os,
collections present in given merge field.   This shows that the change proposed
in [ticket:2221] adds over 10% method call overhead including significantly more
SQL statements.

14 years ago- Narrowed the assumption made when reflecting
Mike Bayer [Tue, 9 Aug 2011 23:45:20 +0000 (19:45 -0400)] 
- Narrowed the assumption made when reflecting
a foreign-key referenced table with schema in
the current search path; an explicit schema will
be applied to the referenced table only if
it actually matches that of the referencing table,
which also has an explicit schema.   Previously
it was assumed that "current" schema was synonymous
with the full search_path.  [ticket:2249]

14 years agosome core cross linkage
Mike Bayer [Sun, 7 Aug 2011 23:44:39 +0000 (19:44 -0400)] 
some core cross linkage

14 years ago- basic relational patterns -> all declarative. classical mapper folks can
Mike Bayer [Sun, 7 Aug 2011 23:04:10 +0000 (19:04 -0400)] 
- basic relational patterns -> all declarative.   classical mapper folks can
figure it out.
- update self-referential examples to be fully declarative/aliased etc.

14 years agolong line formatting
Mike Bayer [Sun, 7 Aug 2011 22:05:49 +0000 (18:05 -0400)] 
long line formatting

14 years agomore green sections. fun !
Mike Bayer [Sun, 7 Aug 2011 20:47:58 +0000 (16:47 -0400)] 
more green sections.  fun !

14 years agoupdate address_count property
Mike Bayer [Sun, 7 Aug 2011 18:05:00 +0000 (14:05 -0400)] 
update address_count property

14 years agofix composite example
Mike Bayer [Sun, 7 Aug 2011 17:50:52 +0000 (13:50 -0400)] 
fix composite example

14 years agodrat
Mike Bayer [Sun, 7 Aug 2011 17:37:40 +0000 (13:37 -0400)] 
drat

14 years ago- rework collections docs, talk about the simple stuff some more.
Mike Bayer [Sun, 7 Aug 2011 17:34:41 +0000 (13:34 -0400)] 
- rework collections docs, talk about the simple stuff some more.
Scare away the user from custom !  scary !  boo !

14 years agodeclarify the mapper config docs
Mike Bayer [Sun, 7 Aug 2011 16:33:03 +0000 (12:33 -0400)] 
declarify the mapper config docs

14 years agotypo
Mike Bayer [Sun, 7 Aug 2011 05:38:18 +0000 (01:38 -0400)] 
typo

14 years ago- classical mappings
Mike Bayer [Sun, 7 Aug 2011 05:13:29 +0000 (01:13 -0400)] 
- classical mappings
- break out eager loads add contains eager again
- edits

14 years agoedit
Mike Bayer [Sun, 7 Aug 2011 00:31:16 +0000 (20:31 -0400)] 
edit

14 years agotutorial content finished, needs fresh proofread as well as corrections
Mike Bayer [Sun, 7 Aug 2011 00:01:25 +0000 (20:01 -0400)] 
tutorial content finished, needs fresh proofread as well as corrections
to the SQL for all the counts

14 years ago- Repaired edge case where mapper would fail
Mike Bayer [Sat, 6 Aug 2011 23:30:34 +0000 (19:30 -0400)] 
- Repaired edge case where mapper would fail
to fully update internal state when a relationship
on a new mapper would establish a backref on the
first mapper.
- continuing with tutorial, moving eager loading into its
own place and describing more fully

14 years ago- rework tutorial to be all declarative, all the time
Mike Bayer [Sat, 6 Aug 2011 22:29:37 +0000 (18:29 -0400)] 
- rework tutorial to be all declarative, all the time
- add detail to declarative docs about base classes

14 years agosigh...*NOW* fix it for py3k so the next transformer doesn't squash it
Mike Bayer [Sat, 6 Aug 2011 19:52:50 +0000 (15:52 -0400)] 
sigh...*NOW* fix it for py3k so the next transformer doesn't squash it

14 years agofix a test
Mike Bayer [Sat, 6 Aug 2011 19:23:46 +0000 (15:23 -0400)] 
fix a test

14 years ago- Query will convert an OFFSET of zero when
Mike Bayer [Sat, 6 Aug 2011 19:03:33 +0000 (15:03 -0400)] 
- Query will convert an OFFSET of zero when
slicing into None, so that needless OFFSET
clauses are not invoked.
- mssql: "0" is accepted as an argument for limit() which
will produce "TOP 0". [ticket:2222]
- add tests to default compiler test for LIMIT/OFFSET generation

14 years ago - Fixed bug in query.join() which would occur
Mike Bayer [Sat, 6 Aug 2011 18:23:07 +0000 (14:23 -0400)] 
  - Fixed bug in query.join() which would occur
    in a complex multiple-overlapping path scenario,
    where the same table could be joined to
    twice.  Thanks *much* to Dave Vitek
    for the excellent fix here.  [ticket:2247]

14 years ago- use itertools.count() plus mutex for Query _new_runid, psycopg2 server
Mike Bayer [Sat, 6 Aug 2011 18:21:19 +0000 (14:21 -0400)] 
- use itertools.count() plus mutex for Query _new_runid, psycopg2 server
side cursor names, mentinoed in [ticket:2247]

14 years ago- second pass through association proxy docs, some more links on any()/has(), MapperP...
Mike Bayer [Sat, 6 Aug 2011 16:43:09 +0000 (12:43 -0400)] 
- second pass through association proxy docs, some more links on any()/has(), MapperProperty

14 years ago- rewrite the docs for association proxy using declarative, add new examples, querying,
Mike Bayer [Sat, 6 Aug 2011 01:29:21 +0000 (21:29 -0400)] 
- rewrite the docs for association proxy using declarative, add new examples, querying,
etc., part of [ticket:2246]
- add some accessors to AssociationProxy for attributes, test in join(), [ticket:2236]
- update relationship docs to talk about callables, part of [ticket:2246]

14 years ago - Ensured that the same ValueError is raised for
Mike Bayer [Thu, 4 Aug 2011 19:34:24 +0000 (15:34 -0400)] 
  - Ensured that the same ValueError is raised for
    illegal date/time/datetime string parsed from
    the database regardless of whether C
    extensions are in use or not.

14 years agolink date/time classes correctly, helps [ticket:2244]
Mike Bayer [Thu, 4 Aug 2011 19:20:46 +0000 (15:20 -0400)] 
link date/time classes correctly, helps [ticket:2244]

14 years ago- epic rewrite of Query.join documentation
Mike Bayer [Wed, 3 Aug 2011 23:44:40 +0000 (19:44 -0400)] 
- epic rewrite of Query.join documentation
- remove cruft from tutorial regarding obsolete orm.join, old calling forms

14 years ago - Added after_soft_rollback() Session event. This
Mike Bayer [Mon, 1 Aug 2011 18:16:46 +0000 (14:16 -0400)] 
   - Added after_soft_rollback() Session event.  This
     event fires unconditionally whenever rollback()
     is called, regardless of if an actual DBAPI
     level rollback occurred.  This event
    is specifically designed to allow operations
     with the Session to proceed after a rollback
     when the Session.is_active is True.
     [ticket:2241]
- SessionTransaction is mentioned in public docs, many
more docstrings for events etc. otherwise

14 years agoAdded tag rel_0_7_2 for changeset b088914265cc3e918c95d1e419234a497a8a9559
Mike Bayer [Sun, 31 Jul 2011 23:17:52 +0000 (19:17 -0400)] 
Added tag rel_0_7_2 for changeset b088914265cc3e918c95d1e419234a497a8a9559

14 years ago0.7.2 + release date rel_0_7_2
Mike Bayer [Sun, 31 Jul 2011 23:12:31 +0000 (19:12 -0400)] 
0.7.2 + release date

14 years agofix the test
Mike Bayer [Sun, 31 Jul 2011 22:08:31 +0000 (18:08 -0400)] 
fix the test

14 years ago- Load of a deferred() attribute on an object
Mike Bayer [Sun, 31 Jul 2011 21:32:07 +0000 (17:32 -0400)] 
- Load of a deferred() attribute on an object
where row can't be located raises
ObjectDeletedError instead of failing later
on; improved the message in ObjectDeletedError
to include other conditions besides a simple
"delete". [ticket:2191]
- break up test_get_refreshes() in test_expire

14 years ago- document get_bind(), [ticket:1053]
Mike Bayer [Sun, 31 Jul 2011 14:24:15 +0000 (10:24 -0400)] 
- document get_bind(), [ticket:1053]
- ensure mapper=None in get_bind()

14 years ago- add CoerceUTF8 example
Mike Bayer [Sat, 30 Jul 2011 17:53:41 +0000 (13:53 -0400)] 
- add CoerceUTF8 example
- New feature: with_variant() method on
all types.  Produces an instance of Variant(),
a special TypeDecorator which will select
the usage of a different type based on the
dialect in use. [ticket:2187]

14 years ago- Fixed bug where query.join() + aliased=True
Mike Bayer [Sat, 30 Jul 2011 16:12:32 +0000 (12:12 -0400)] 
- Fixed bug where query.join() + aliased=True
from a joined-inh structure to itself on
relationship() with join condition on the child
table would convert the lead entity into the
joined one inappropriately.  [ticket:2234]
Also in 0.6.9.

14 years ago- Added public attribute ".validators" to
Mike Bayer [Sat, 30 Jul 2011 15:41:53 +0000 (11:41 -0400)] 
- Added public attribute ".validators" to
Mapper, an immutable dictionary view of
all attributes that have been decorated
with the @validates decorator.
[ticket:2240] courtesy Stefano Fontanelli

14 years ago- SQLite dialect no longer strips quotes
Mike Bayer [Thu, 28 Jul 2011 15:53:18 +0000 (11:53 -0400)] 
- SQLite dialect no longer strips quotes
    off of reflected default value, allowing
    a round trip CREATE TABLE to work.
    This is consistent with other dialects
    that also maintain the exact form of
    the default.  [ticket:2189]

14 years ago- rework Annotated to no longer use __cmp__(), supply an __eq__() that
Mike Bayer [Mon, 25 Jul 2011 00:41:42 +0000 (20:41 -0400)] 
- rework Annotated to no longer use __cmp__(), supply an __eq__() that
works with ColumnElement as well as works with non-__eq__() suppliers,
works with sets, on Py3K as well.

14 years agodefault dialect, oopsie
Mike Bayer [Sun, 24 Jul 2011 22:27:31 +0000 (18:27 -0400)] 
default dialect, oopsie

14 years ago- rewrite cloned_traverse() and replacement_traverse() to use a straight
Mike Bayer [Sun, 24 Jul 2011 21:51:01 +0000 (17:51 -0400)] 
- rewrite cloned_traverse() and replacement_traverse() to use a straight
recursive descent with clone() + _copy_internals().  This is essentially
what it was doing anyway with lots of unnecessary steps.
Fix Alias() to honor the given clone() function which may have been the
reason the traversal hadn't been fixed sooner.   Alias._copy_internals()
will specifically skip an alias of a Table
as a more specific form of what it was doing before.  This may need to
be further improved such that ClauseAdapter or replacement_traverse()
send it some specific hints what not to dig into; **kw has been added
to all _copy_internals() to support this.   replacement/clone traversal
is at least clear now.
- apply new no_replacement_traverse annotation to join created by
_create_joins(), fixes [ticket:2195]
- can replace orm.query "_halt_adapt" with "no_replacement_traverse"

14 years ago- recall that groupby() expects a sorted collection, ditch it
Mike Bayer [Sun, 24 Jul 2011 19:49:04 +0000 (15:49 -0400)] 
- recall that groupby() expects a sorted collection, ditch it

14 years agofix broken tests
Mike Bayer [Sun, 24 Jul 2011 17:01:13 +0000 (13:01 -0400)] 
fix broken tests

14 years ago- added CURRENT to reserved word list.
Mike Bayer [Sun, 24 Jul 2011 16:55:49 +0000 (12:55 -0400)] 
- added CURRENT to reserved word list.
[ticket:2212] Also in 0.6.9.

14 years ago- Fixed OurSQL dialect to use ansi-neutral
Mike Bayer [Sun, 24 Jul 2011 16:50:14 +0000 (12:50 -0400)] 
- Fixed OurSQL dialect to use ansi-neutral
quote symbol "'" for XA commands instead
of '"'.  [ticket:2186].  Also in 0.6.9.

14 years ago- Fixed regression from 0.6 where Session.add()
Mike Bayer [Sun, 24 Jul 2011 16:37:48 +0000 (12:37 -0400)] 
- Fixed regression from 0.6 where Session.add()
against an object which contained None in a
collection would raise an internal exception.
Reverted this to 0.6's behavior which is to
accept the None but obviously nothing is
persisted.  Ideally, collections with None
present or on append() should at least emit a
warning, which is being considered for 0.8.
[ticket:2205]

14 years ago- Fixed bug apparent only in Python 3 whereby
Mike Bayer [Sun, 24 Jul 2011 15:45:30 +0000 (11:45 -0400)] 
- Fixed bug apparent only in Python 3 whereby
sorting of persistent + pending objects during
flush would produce an illegal comparison,
if the persistent object primary key
is not a single integer.  [ticket:2228]
Also in 0.6.9

14 years ago- document query.get(), ObjectDeletedError fully, [ticket:2146]
Mike Bayer [Sat, 23 Jul 2011 16:27:09 +0000 (12:27 -0400)] 
- document query.get(), ObjectDeletedError fully, [ticket:2146]

14 years ago - Added an informative error message when
Mike Bayer [Thu, 21 Jul 2011 15:44:31 +0000 (11:44 -0400)] 
 - Added an informative error message when
    ForeignKeyConstraint refers to a column name in
    the parent that is not found.  Also in 0.6.9.
- add tests for [ticket:2226], as if we hit each @declared_attr
directly with obj.__get__(obj, name) instead of using
getattr(cls, name).  Basic inheritance mechanics are improperly
used in this case, so 2226 is invalid.

14 years agofix some more typos
Mike Bayer [Wed, 20 Jul 2011 23:42:06 +0000 (19:42 -0400)] 
fix some more typos

14 years agoput a really explicit note about joinedload vs. join, everywhere joinedload() is...
Mike Bayer [Wed, 20 Jul 2011 23:32:30 +0000 (19:32 -0400)] 
put a really explicit note about joinedload vs. join, everywhere joinedload() is mentioned

14 years ago - Fixed regression from 0.6 where a get history
Mike Bayer [Wed, 20 Jul 2011 22:30:57 +0000 (18:30 -0400)] 
  - Fixed regression from 0.6 where a get history
    operation on some relationship() based attributes
    would fail when a lazyload would emit; this could
    trigger within a flush() under certain conditions.
    [ticket:2224]  Thanks to the user who submitted
    the great test for this.

14 years ago- Fixed bug whereby the source clause
Mike Bayer [Wed, 20 Jul 2011 22:03:35 +0000 (18:03 -0400)] 
- Fixed bug whereby the source clause
used by query.join() would be inconsistent
if against a column expression that combined
multiple entities together.  [ticket:2197]

14 years agofix keyword error
Mike Bayer [Wed, 20 Jul 2011 15:09:04 +0000 (11:09 -0400)] 
fix keyword error

14 years ago - Added new "postgresql_ops" argument to
Mike Bayer [Wed, 20 Jul 2011 14:49:36 +0000 (10:49 -0400)] 
  - Added new "postgresql_ops" argument to
    Index, allows specification of PostgreSQL
    operator classes for indexed columns.
    [ticket:2198]  Courtesy Filip Zyzniewski.

14 years ago- repaired the oracle.RAW type which did not
Mike Bayer [Tue, 19 Jul 2011 15:44:21 +0000 (11:44 -0400)] 
- repaired the oracle.RAW type which did not
generate the correct DDL.  [ticket:2220]
Also in 0.6.9.

14 years ago- Fixed bug whereby if a mapped class
Mike Bayer [Sun, 17 Jul 2011 20:44:37 +0000 (16:44 -0400)] 
- Fixed bug whereby if a mapped class
redefined __hash__() or __eq__() to something
non-standard, which is a supported use case
as SQLA should never consult these,
the methods would be consulted if the class
was part of a "composite" (i.e. non-single-entity)
result set.  [ticket:2215]
Also in 0.6.9.

14 years ago - Feature enhancement: joined and subquery
Mike Bayer [Sun, 17 Jul 2011 19:14:03 +0000 (15:14 -0400)] 
  - Feature enhancement: joined and subquery
    loading will now traverse already-present related
    objects and collections in search of unpopulated
    attributes throughout the scope of the eager load
    being defined, so that the eager loading that is
    specified via mappings or query options
    unconditionally takes place for the full depth,
    populating whatever is not already populated.
    Previously, this traversal would stop if a related
    object or collection were already present leading
    to inconsistent behavior (though would save on
    loads/cycles for an already-loaded graph). For a
    subqueryload, this means that the additional
    SELECT statements emitted by subqueryload will
    invoke unconditionally, no matter how much of the
    existing graph is already present (hence the
    controversy). The previous behavior of "stopping"
    is still in effect when a query is the result of
    an attribute-initiated lazyload, as otherwise an
    "N+1" style of collection iteration can become
    needlessly expensive when the same related object
    is encountered repeatedly. There's also an
    as-yet-not-public generative Query method
    _with_invoke_all_eagers()
    which selects old/new behavior [ticket:2213]

14 years ago- Context manager provided by Connection.begin()
Mike Bayer [Tue, 12 Jul 2011 23:34:25 +0000 (19:34 -0400)] 
- Context manager provided by Connection.begin()
will issue rollback() if the commit() fails,
not just if an exception occurs.

14 years ago- add a latex Makefile to texinputs that gets copied on latex build,
Mike Bayer [Thu, 7 Jul 2011 15:34:59 +0000 (11:34 -0400)] 
- add a latex Makefile to texinputs that gets copied on latex build,
ensures pdflatex/latex errors are totally ignored
- fix all SQL/code examples in the inherits doc to be within 79 chars.
will need to do this for all the docs to get pdf to not look crappy.
- add an abspath to the "templates" dir, not sure of the rationale
here but is harmless, [ticket:2211]
- integrate pdf build with site-mako build

14 years ago- The join condition produced by with_parent
Mike Bayer [Wed, 6 Jul 2011 16:35:45 +0000 (12:35 -0400)] 
- The join condition produced by with_parent
as well as when using a "dynamic" relationship
against a parent will generate unique
bindparams, rather than incorrectly repeating
the same bindparam.  [ticket:2207].
Also in 0.6.9.

14 years ago- fix up the invalidate on connect for py3k
Mike Bayer [Wed, 6 Jul 2011 16:07:36 +0000 (12:07 -0400)] 
- fix up the invalidate on connect for py3k
- fix the test for separately installed pysqlite

14 years agoanother typo
Mike Bayer [Tue, 5 Jul 2011 23:33:05 +0000 (19:33 -0400)] 
another typo

14 years ago- fix typo in session section
Mike Bayer [Tue, 5 Jul 2011 23:28:05 +0000 (19:28 -0400)] 
- fix typo in session section
- rework aliases section
- simplify "transformations", make it separate, dont need to spend time here
- improve linkage

14 years ago- fix pypostgresql typo, [ticket:2185]
Mike Bayer [Mon, 4 Jul 2011 20:31:58 +0000 (16:31 -0400)] 
- fix pypostgresql typo, [ticket:2185]
- rewrite "getting a session" docs to delineate
all sessionmaker() use cases distinctly
- rewrite "Managing Transactions" doc to spell out
each specific step completely, [ticket:2204]
- add to create_engine() and main "engine" doc
an unambiguous statement that the create_engine()
does not create a connection
- other link fixes
- rewrite "deleting" section so that "deleting from collections"
is separate, well-described, [ticket:2202]
- rephrase "autocommit mode" into its own section, move it down,
put some bold text that you shouldn't be using it.
- simplify the "subtransactions" section and make it local to
"autocommit" since it is utterly unneeded by anybody.
- oracle is not doing 2-phase anytime soon

14 years ago- Added an improved repr() to TypeEngine objects
Mike Bayer [Mon, 4 Jul 2011 17:56:17 +0000 (13:56 -0400)] 
- Added an improved repr() to TypeEngine objects
that will only display constructor args which
are positional or kwargs that deviate
from the default.  [ticket:2209]

14 years ago- fix documentation versions in conf.py, other changes to site layout
Mike Bayer [Sat, 2 Jul 2011 02:38:11 +0000 (22:38 -0400)] 
- fix documentation versions in conf.py, other changes to site layout

14 years ago- add doc to schema docs linking to declarative usage of __table__
Mike Bayer [Fri, 1 Jul 2011 21:09:57 +0000 (17:09 -0400)] 
- add doc to schema docs linking to declarative usage of __table__
- add more examples to __table__ such as that asked on a recent
stackoverflow question.

14 years ago- Failures on connect which raise dbapi.Error
Mike Bayer [Fri, 1 Jul 2011 20:52:11 +0000 (16:52 -0400)] 
- Failures on connect which raise dbapi.Error
will forward the error to dialect.is_disconnect()
and set the "connection_invalidated" flag if
the dialect knows this to be a potentially
"retryable" condition.  Only Oracle ORA-01033
implemented for now.  [ticket:2201]

- Added ORA-01033 to disconnect codes, which
can be caught during a connection
event.  [ticket:2201]

14 years ago - Fixed bug in the mutable extension whereby
Mike Bayer [Fri, 1 Jul 2011 15:32:07 +0000 (11:32 -0400)] 
  - Fixed bug in the mutable extension whereby
    if None or a non-corresponding type were set,
    an error would be raised.  None is now accepted
    which assigns None to all attributes,
    illegal values raise ValueError.

14 years ago- Fixed bug where "autoincrement" detection on
Mike Bayer [Thu, 30 Jun 2011 22:48:01 +0000 (18:48 -0400)] 
- Fixed bug where "autoincrement" detection on
Table would fail if the type had no "affinity"
value, in particular this would occur when using
the UUID example on the site that uses TypeEngine
as the "impl".

14 years ago - Fixed bug in the mutable extension whereby
Mike Bayer [Thu, 30 Jun 2011 14:43:53 +0000 (10:43 -0400)] 
  - Fixed bug in the mutable extension whereby
    if the same type were used twice in one
    mapping, the attributes beyond the first
    would not get instrumented.

14 years ago - Fixed bug whereby adaptation of old append_ddl_listener()
Mike Bayer [Thu, 30 Jun 2011 14:27:52 +0000 (10:27 -0400)] 
  - Fixed bug whereby adaptation of old append_ddl_listener()
    function was passing unexpected **kw through
    to the Table event.   Table gets no kws, the MetaData
    event in 0.6 would get "tables=somecollection",
    this behavior is preserved.  [ticket:2206]

14 years ago- add a mention of attributeevents in the validates doc
Mike Bayer [Thu, 30 Jun 2011 14:18:37 +0000 (10:18 -0400)] 
- add a mention of attributeevents in the validates doc

14 years ago- document that pysqlite does not share temporary tables
Mike Bayer [Wed, 29 Jun 2011 04:49:57 +0000 (00:49 -0400)] 
- document that pysqlite does not share temporary tables
across multiple connections therefore a non-standard
pool should be used [ticket:2203]

14 years ago- Fixed subtle bug that caused SQL to blow
Mike Bayer [Mon, 27 Jun 2011 23:25:35 +0000 (19:25 -0400)] 
- Fixed subtle bug that caused SQL to blow
up if: column_property() against subquery +
joinedload + LIMIT + order by the column
property() occurred.  [ticket:2188].
Also in 0.6.9

14 years ago - Fixed a subtle bug involving column
Mike Bayer [Mon, 27 Jun 2011 22:54:02 +0000 (18:54 -0400)] 
  - Fixed a subtle bug involving column
    correspondence in a selectable with the
    same column repeated.   Affects [ticket:2188].

14 years agoif python 2.4, have DontWrapException be old style
Mike Bayer [Sun, 26 Jun 2011 23:50:31 +0000 (19:50 -0400)] 
if python 2.4, have DontWrapException be old style

14 years agotime for a better arch diagram
Mike Bayer [Sun, 26 Jun 2011 17:19:03 +0000 (13:19 -0400)] 
time for a better arch diagram

14 years ago - Fixed the attribute shard example to check
Mike Bayer [Sun, 26 Jun 2011 17:00:58 +0000 (13:00 -0400)] 
  - Fixed the attribute shard example to check
    for bind param callable correctly in 0.7
    style.

14 years ago- new section on backrefs
Mike Bayer [Sat, 25 Jun 2011 19:48:57 +0000 (15:48 -0400)] 
- new section on backrefs
- new section on m2m self referential
- start illustrating things more in terms of declarative primarily

14 years ago- the "cascade" section of the session doc was totally screwed up, mappings
Mike Bayer [Thu, 23 Jun 2011 23:54:50 +0000 (19:54 -0400)] 
- the "cascade" section of the session doc was totally screwed up, mappings
used the wrong form, example for cascade_backref used the wrong names.
- rewrite relationship cascade_backrefs doc