]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
16 years agodynamic_loader() accepts query_class= to mix in user Query subclasses.
Jason Kirtland [Thu, 18 Dec 2008 17:06:01 +0000 (17:06 +0000)] 
dynamic_loader() accepts query_class= to mix in user Query subclasses.

16 years agoAssociation proxies no longer cloak themselves at the class level.
Jason Kirtland [Thu, 18 Dec 2008 16:55:47 +0000 (16:55 +0000)] 
Association proxies no longer cloak themselves at the class level.

16 years ago- Query() can be passed a "composite" attribute
Mike Bayer [Thu, 18 Dec 2008 16:50:49 +0000 (16:50 +0000)] 
- Query() can be passed a "composite" attribute
as a column expression and it will be expanded.
Somewhat related to [ticket:1253].
- Query() is a little more robust when passed
various column expressions such as strings,
clauselists, text() constructs (which may mean
it just raises an error more nicely).
- select() can accept a ClauseList as a column
in the same way as a Table or other selectable
and the interior expressions will be used as
column elements. [ticket:1253]
- removed erroneous FooTest from test/orm/query

-This line, and those below, will be ignored--

M    test/orm/query.py
M    test/orm/mapper.py
M    test/sql/select.py
M    lib/sqlalchemy/orm/query.py
M    lib/sqlalchemy/sql/expression.py
M    CHANGES

16 years agodocument ConnectionProxy
Mike Bayer [Thu, 18 Dec 2008 00:12:12 +0000 (00:12 +0000)] 
document ConnectionProxy

16 years ago- _execute_clauseelement() goes back to being
Mike Bayer [Wed, 17 Dec 2008 23:09:51 +0000 (23:09 +0000)] 
- _execute_clauseelement() goes back to being
a private method.  Subclassing Connection
is not needed now that ConnectionProxy
is available.
- tightened the interface for the various _execute_XXX()
methods to reduce ambiguity
- __distill_params() no longer creates artificial [{}] entry,
blank dict is no longer passed through to do_execute()
in any case unless explicitly sent from the outside
as in connection.execute("somestring"), {})
- fixed a few old sql.query tests which were doing that
- removed needless do_execute() from mysql dialect
- fixed charset param not properly being sent to
_compat_fetchone() in mysql

16 years ago- sqlite types
Mike Bayer [Wed, 17 Dec 2008 20:53:43 +0000 (20:53 +0000)] 
- sqlite types
- fixed targeting for sqlalchemy.types

16 years ago- Fixed bug where many-to-many relation() with
Mike Bayer [Wed, 17 Dec 2008 20:39:18 +0000 (20:39 +0000)] 
- Fixed bug where many-to-many relation() with
viewonly=True would not correctly reference the
link between secondary->remote.

16 years ago- added sphinx handler to allow __init__ methods through
Mike Bayer [Wed, 17 Dec 2008 20:12:07 +0000 (20:12 +0000)] 
- added sphinx handler to allow __init__ methods through
- sqlite module documentation
- some corrections to pool docs
- the example in URL.translate_connect_args() never made any sense anyway so removed it

16 years agopolymorphic_fetch is deprecated. Mark it so in the documentation.
Gaëtan de Menten [Wed, 17 Dec 2008 14:53:18 +0000 (14:53 +0000)] 
polymorphic_fetch is deprecated. Mark it so in the documentation.

16 years agook we need find_packages. fine.
Mike Bayer [Mon, 15 Dec 2008 21:58:36 +0000 (21:58 +0000)] 
ok we need find_packages.  fine.

16 years agocorrections
Mike Bayer [Mon, 15 Dec 2008 21:25:17 +0000 (21:25 +0000)] 
corrections

16 years agoremoved dependencies on setuptools. distutils will be used if setuptools is not
Mike Bayer [Mon, 15 Dec 2008 21:23:55 +0000 (21:23 +0000)] 
removed dependencies on setuptools.  distutils will be used if setuptools is not
present.

16 years agoCorrected output on docs and a missing {stop} that prevented python results from...
Michael Trier [Fri, 12 Dec 2008 21:59:33 +0000 (21:59 +0000)] 
Corrected output on docs and a missing {stop} that prevented python results from displaying in the docs.

16 years agoSupport for three levels of column nullability: NULL, NOT NULL, and the database...
Michael Trier [Fri, 12 Dec 2008 04:49:24 +0000 (04:49 +0000)] 
Support for three levels of column nullability: NULL, NOT NULL, and the database's configured default.

The default Column configuration (nullable=True) will now generate NULL in the DDL. Previously no specification was emitted and the database default would take effect (usually NULL, but not always).  To explicitly request the database default, configure columns with nullable=None and no specification will be emitted in DDL. Fixes #1243.

16 years agoModified fails_on testing decorator to take a reason for the failure.
Michael Trier [Fri, 12 Dec 2008 03:41:05 +0000 (03:41 +0000)] 
Modified fails_on testing decorator to take a reason for the failure.

This should assist with helping to document the reasons for testing failures.
Currently unspecified failures are defaulted to 'FIXME: unknown'.

16 years agoCorrected and verified a few more mssql tests.
Michael Trier [Fri, 12 Dec 2008 03:40:57 +0000 (03:40 +0000)] 
Corrected and verified a few more mssql tests.

16 years agoBroke out a specific values test and indicated that it fails on mssql due to duplicat...
Michael Trier [Fri, 12 Dec 2008 01:40:05 +0000 (01:40 +0000)] 
Broke out a specific values test and indicated that it fails on mssql due to duplicate columns in the order by clause.

16 years ago- turn __visit_name__ into an explicit member.
Mike Bayer [Thu, 11 Dec 2008 23:28:01 +0000 (23:28 +0000)] 
- turn __visit_name__ into an explicit member.
[ticket:1244]

16 years agoIndex entries for thread safety.
Jason Kirtland [Thu, 11 Dec 2008 22:09:12 +0000 (22:09 +0000)] 
Index entries for thread safety.

16 years agoAnd now for the CHANGES.
Michael Trier [Thu, 11 Dec 2008 21:55:22 +0000 (21:55 +0000)] 
And now for the CHANGES.

16 years agoCorrected problem with bindparams not working properly with Query.delete and Query...
Michael Trier [Thu, 11 Dec 2008 21:52:11 +0000 (21:52 +0000)] 
Corrected problem with bindparams not working properly with Query.delete and Query.update. Thanks zzzeek. Fixes #1242.

16 years agoWe don't need two of these.
Michael Trier [Thu, 11 Dec 2008 19:27:38 +0000 (19:27 +0000)] 
We don't need two of these.

16 years agoAccess doesn't support savepoints or two-phase commit.
Michael Trier [Thu, 11 Dec 2008 19:24:24 +0000 (19:24 +0000)] 
Access doesn't support savepoints or two-phase commit.

16 years agoImplemented experimental savepoint support in mssql. There are still some failing...
Michael Trier [Thu, 11 Dec 2008 19:24:22 +0000 (19:24 +0000)] 
Implemented experimental savepoint support in mssql. There are still some failing savepoint related tests.

16 years agofix circular import
Mike Bayer [Thu, 11 Dec 2008 18:43:05 +0000 (18:43 +0000)] 
fix circular import

16 years ago- Connection.invalidate() checks for closed status
Mike Bayer [Thu, 11 Dec 2008 17:39:01 +0000 (17:39 +0000)] 
- Connection.invalidate() checks for closed status
to avoid attribute errors. [ticket:1246]

16 years ago- PickleType now favors == comparison by default,
Mike Bayer [Thu, 11 Dec 2008 17:27:33 +0000 (17:27 +0000)] 
- PickleType now favors == comparison by default,
if the incoming object (such as a dict) implements
__eq__().  If the object does not implement
__eq__() and mutable=True, a deprecation warning
is raised.

16 years ago- fixed string-based "remote_side", "order_by" and
Mike Bayer [Thu, 11 Dec 2008 15:34:45 +0000 (15:34 +0000)] 
- fixed string-based "remote_side", "order_by" and
others not propagating correctly when used in
backref().

16 years ago- VERSION moves just as a string in __version__
Mike Bayer [Wed, 10 Dec 2008 21:27:21 +0000 (21:27 +0000)] 
- VERSION moves just as a string in __version__
- added modified sphinx.sty with plain Verbatim section
- link to pdf doc in site

16 years ago- first() works as expected with Query.from_statement().
Mike Bayer [Wed, 10 Dec 2008 20:28:54 +0000 (20:28 +0000)] 
- first() works as expected with Query.from_statement().

16 years ago- reworked the "SQL assertion" code to something more flexible and based off of Conne...
Mike Bayer [Wed, 10 Dec 2008 02:16:52 +0000 (02:16 +0000)] 
- reworked the "SQL assertion" code to something more flexible and based off of ConnectionProxy.  upcoming changes to dependency.py
will make use of the enhanced flexibility.

16 years agodont use names to find Annotated subclasses
Mike Bayer [Tue, 9 Dec 2008 21:52:08 +0000 (21:52 +0000)] 
dont use names to find Annotated subclasses

16 years ago- restored the previous API Reference structure
Mike Bayer [Mon, 8 Dec 2008 21:32:29 +0000 (21:32 +0000)] 
- restored the previous API Reference structure
- bumped latex TOC structure, the PDF looks great
- but we need to fix the translate_connect_args docstring bug to really have PDF

16 years agofix typos
Mike Bayer [Mon, 8 Dec 2008 20:49:12 +0000 (20:49 +0000)] 
fix typos

16 years ago- removed redundant declarative docs
Mike Bayer [Mon, 8 Dec 2008 20:21:02 +0000 (20:21 +0000)] 
- removed redundant declarative docs
- cleanup of metadata/foreignkey docs

16 years agofurther fix that docstring
Gaëtan de Menten [Mon, 8 Dec 2008 10:43:57 +0000 (10:43 +0000)] 
further fix that docstring

16 years agofixed invalid docstring example
Gaëtan de Menten [Mon, 8 Dec 2008 10:41:36 +0000 (10:41 +0000)] 
fixed invalid docstring example

16 years ago- restored the main search form
Mike Bayer [Mon, 8 Dec 2008 00:20:20 +0000 (00:20 +0000)] 
- restored the main search form
- fixed search highlighting
- the url docstring works again from a ReST perspective, still not PDF

16 years ago- moved index.rst around to have the API docs right there, no "Main Documentation...
Mike Bayer [Sun, 7 Dec 2008 23:58:02 +0000 (23:58 +0000)] 
- moved index.rst around to have the API docs right there, no "Main Documentation" chapter which is fairly needless.  this all allows PDF to have a decent TOC on the side with only two levels (can we change that ?)
- added LatexFormatter.
- PDF wont work until issue with the docstirng in url.py/URL.translate_connect_args is fixed.

16 years agoworked schema into sections
Mike Bayer [Sun, 7 Dec 2008 21:10:27 +0000 (21:10 +0000)] 
worked schema into sections

16 years ago- convert __init__ and :members: to be compatible with autoclass_content='both'
Mike Bayer [Sun, 7 Dec 2008 20:13:26 +0000 (20:13 +0000)] 
- convert __init__ and :members: to be compatible with autoclass_content='both'

16 years agofix typos
Gaëtan de Menten [Sun, 7 Dec 2008 14:32:37 +0000 (14:32 +0000)] 
fix typos

16 years agodocumented onupdate, partially documented server_onupdate
Mike Bayer [Sun, 7 Dec 2008 06:50:47 +0000 (06:50 +0000)] 
documented onupdate, partially documented server_onupdate

16 years ago- re-documented Table and Column constructors, fixed case sensitivity description...
Mike Bayer [Sun, 7 Dec 2008 06:30:00 +0000 (06:30 +0000)] 
- re-documented Table and Column constructors, fixed case sensitivity description [ticket:1231]
- turned on autoclass_content="both".  Need to specify __init__ docstring with a newline after the """.
- other docs

16 years agoAdjusted basis for refs.
Jason Kirtland [Sun, 7 Dec 2008 06:26:36 +0000 (06:26 +0000)] 
Adjusted basis for refs.

16 years ago- removed creepy exec call for now
Mike Bayer [Sat, 6 Dec 2008 23:47:21 +0000 (23:47 +0000)] 
- removed creepy exec call for now
- removed unnecessary isinstance() from class_mapper()
- removed unnecessary and py3k incompatible "dictionary sort" from association table delete

16 years agoneed to use absolutes for these, otherwise its dictionary ordering roulette
Mike Bayer [Sat, 6 Dec 2008 18:40:07 +0000 (18:40 +0000)] 
need to use absolutes for these, otherwise its dictionary ordering roulette

16 years ago- postgres docstring
Mike Bayer [Sat, 6 Dec 2008 18:27:04 +0000 (18:27 +0000)] 
- postgres docstring
- insert/update/delete are documented generatively
- values({}) is no longer deprecated, thus enabling
unicode/Columns as keys

16 years agoEnabled sphinx doctests.
Jason Kirtland [Sat, 6 Dec 2008 17:47:20 +0000 (17:47 +0000)] 
Enabled sphinx doctests.

16 years agoremove old files
Mike Bayer [Sat, 6 Dec 2008 17:00:17 +0000 (17:00 +0000)] 
remove old files

16 years ago- merged -r5338:5429 of sphinx branch.
Mike Bayer [Sat, 6 Dec 2008 16:59:48 +0000 (16:59 +0000)] 
- merged -r5338:5429 of sphinx branch.
- Documentation has been converted to Sphinx.
In particular, the generated API documentation
has been constructed into a full blown
"API Reference" section which organizes
editorial documentation combined with
generated docstrings.   Cross linking between
sections and API docs are vastly improved,
a javascript-powered search feature is
provided, and a full index of all
classes, functions and members is provided.

16 years ago- union() and union_all() will not whack
Mike Bayer [Sat, 6 Dec 2008 00:14:50 +0000 (00:14 +0000)] 
- union() and union_all() will not whack
any order_by() that has been applied to the
select()s inside.  If you union() a
select() with order_by() (presumably to support
LIMIT/OFFSET), you should also call self_group()
on it to apply parenthesis.

16 years ago- Adjusted the format of create_xid() to repair
Mike Bayer [Fri, 5 Dec 2008 14:46:27 +0000 (14:46 +0000)] 
- Adjusted the format of create_xid() to repair
two-phase commit.   We now have field reports
of Oracle two-phase commit working properly
with this change.

16 years ago- Query.with_polymorphic() now accepts a third
Mike Bayer [Wed, 3 Dec 2008 21:27:04 +0000 (21:27 +0000)] 
- Query.with_polymorphic() now accepts a third
argument "discriminator" which will replace
the value of mapper.polymorphic_on for that
query.  Mappers themselves no longer require
polymorphic_on to be set, even if the mapper
has a polymorphic_identity.   When not set,
the mapper will load non-polymorphically
by default. Together, these two features allow
a non-polymorphic concrete inheritance setup
to use polymorphic loading on a per-query basis,
since concrete setups are prone to many
issues when used polymorphically in all cases.

16 years ago- Two fixes to help prevent out-of-band columns from
Mike Bayer [Wed, 3 Dec 2008 17:28:36 +0000 (17:28 +0000)] 
- Two fixes to help prevent out-of-band columns from
being rendered in polymorphic_union inheritance
scenarios (which then causes extra tables to be
rendered in the FROM clause causing cartesian
products):
- improvements to "column adaption" for
  a->b->c inheritance situations to better
  locate columns that are related to one
  another via multiple levels of indirection,
  rather than rendering the non-adapted
  column.
- the "polymorphic discriminator" column is
  only rendered for the actual mapper being
  queried against. The column won't be
  "pulled in" from a subclass or superclass
  mapper since it's not needed.

16 years ago- Using the same ForeignKey object repeatedly
Mike Bayer [Wed, 3 Dec 2008 14:09:34 +0000 (14:09 +0000)] 
- Using the same ForeignKey object repeatedly
raises an error instead of silently failing
later. [ticket:1238]

16 years ago- Fixed bug introduced in 0.5rc4 involving eager
Mike Bayer [Wed, 3 Dec 2008 06:23:55 +0000 (06:23 +0000)] 
- Fixed bug introduced in 0.5rc4 involving eager
loading not functioning for properties which were
added to a mapper post-compile using
add_property() or equivalent.

16 years agoModified the docstring for Session.add() with lots of help.
Michael Trier [Wed, 3 Dec 2008 04:52:55 +0000 (04:52 +0000)] 
Modified the docstring for Session.add() with lots of help.

16 years agomade Session.merge cascades not trigger autoflush
Ants Aasma [Tue, 2 Dec 2008 19:14:15 +0000 (19:14 +0000)] 
made Session.merge cascades not trigger autoflush

16 years ago- Improved mapper() check for non-class classes.
Mike Bayer [Mon, 1 Dec 2008 22:09:15 +0000 (22:09 +0000)] 
- Improved mapper() check for non-class classes.
[ticket:1236]

16 years agopropagate docstrings for column/fk collections
Mike Bayer [Mon, 1 Dec 2008 05:04:55 +0000 (05:04 +0000)] 
propagate docstrings for column/fk collections

16 years ago- fixed "double iter()" call causing bus errors
Mike Bayer [Thu, 27 Nov 2008 15:59:34 +0000 (15:59 +0000)] 
- fixed "double iter()" call causing bus errors
in shard API, removed errant result.close()
left over from the 0.4 version. [ticket:1099]
[ticket:1228]

16 years agoRefactored the entity setup code in Query so that it is not duplicated in several...
Michael Trier [Wed, 26 Nov 2008 19:44:04 +0000 (19:44 +0000)] 
Refactored the entity setup code in Query so that it is not duplicated in several places.

16 years agoA few more order_by statements added to the tests in order to please msql when using...
Michael Trier [Wed, 26 Nov 2008 19:43:59 +0000 (19:43 +0000)] 
A few more order_by statements added to the tests in order to please msql when using offsets.

16 years ago- Duplicate items in a list-based collection will
Mike Bayer [Tue, 25 Nov 2008 04:43:04 +0000 (04:43 +0000)] 
- Duplicate items in a list-based collection will
be maintained when issuing INSERTs to
a "secondary" table in a many-to-many relation.
Assuming the m2m table has a unique or primary key
constraint on it, this will raise the expected
constraint violation instead of silently
dropping the duplicate entries. Note that the
old behavior remains for a one-to-many relation
since collection entries in that case
don't result in INSERT statements and SQLA doesn't
manually police collections. [ticket:1232]

16 years agodeprecated CompositeProperty 'comparator' which is now
Mike Bayer [Mon, 24 Nov 2008 01:44:08 +0000 (01:44 +0000)] 
deprecated CompositeProperty 'comparator' which is now
named 'comparator_factory'.

16 years agoone more select_table...
Mike Bayer [Mon, 24 Nov 2008 01:21:08 +0000 (01:21 +0000)] 
one more select_table...

16 years ago- comparator_factory is accepted by all MapperProperty constructors. [ticket:1149]
Mike Bayer [Mon, 24 Nov 2008 01:14:32 +0000 (01:14 +0000)] 
- comparator_factory is accepted by all MapperProperty constructors. [ticket:1149]
- added other unit tests as per [ticket:1149]
- rewrote most of the "joined table inheritance" documentation section, removed badly out of
date "polymorphic_fetch" and "select_table" arguments.
- "select_table" raises a deprecation warning.  converted unit tests to not use it.
- removed all references to "ORDER BY table.oid" from mapping docs.
- renamed PropertyLoader to RelationProperty.  Old symbol remains.
- renamed ColumnProperty.ColumnComparator to ColumnProperty.Comparator.  Old symbol remains.

16 years ago- Extra checks added to ensure explicit
Mike Bayer [Sat, 22 Nov 2008 20:37:16 +0000 (20:37 +0000)] 
- Extra checks added to ensure explicit
primaryjoin/secondaryjoin are ClauseElement
instances, to prevent more confusing errors later
on.

16 years ago- Tickets [ticket:1200].
Mike Bayer [Sat, 22 Nov 2008 19:22:42 +0000 (19:22 +0000)] 
- Tickets [ticket:1200].

- Added note about create_session() defaults.

- Added section about metadata.reflect().

- Updated `TypeDecorator` section.

- Rewrote the "threadlocal" strategy section of
the docs due to recent confusion over this
feature.

- ordered the init arguments in the docs for sessionmaker().

- other edits

16 years agoprevent extra nested li items from becoming tiny
Mike Bayer [Sat, 22 Nov 2008 17:46:03 +0000 (17:46 +0000)] 
prevent extra nested li items from becoming tiny

16 years ago- Fixed the import weirdness in sqlalchemy.sql
Mike Bayer [Sat, 22 Nov 2008 16:09:20 +0000 (16:09 +0000)] 
- Fixed the import weirdness in sqlalchemy.sql
to not export __names__ [ticket:1215].

16 years ago- Comparison of many-to-one relation to NULL is
Mike Bayer [Fri, 21 Nov 2008 03:49:36 +0000 (03:49 +0000)] 
- Comparison of many-to-one relation to NULL is
properly converted to IS NOT NULL based on not_().

16 years ago- Added NotImplementedError for params() method
Mike Bayer [Fri, 21 Nov 2008 01:21:00 +0000 (01:21 +0000)] 
- Added NotImplementedError for params() method
on Insert/Update/Delete constructs.  These items
currently don't support this functionality, which
also would be a little misleading compared to
values().

16 years ago- the "passive" flag on session.is_modified()
Mike Bayer [Tue, 18 Nov 2008 16:24:00 +0000 (16:24 +0000)] 
- the "passive" flag on session.is_modified()
is correctly propagated to the attribute manager.

16 years agor5281 knocked down callcounts in 2.5..
Mike Bayer [Mon, 17 Nov 2008 02:02:42 +0000 (02:02 +0000)] 
r5281 knocked down callcounts in 2.5..

16 years ago- Query.select_from(), from_statement() ensure
Mike Bayer [Sun, 16 Nov 2008 19:33:26 +0000 (19:33 +0000)] 
- Query.select_from(), from_statement() ensure
that the given argument is a FromClause,
or Text/Select/Union, respectively.

- Query.add_column() can accept FromClause objects
in the same manner as session.query() can.

16 years ago- bump, this may become 0.5.0
Mike Bayer [Fri, 14 Nov 2008 22:11:05 +0000 (22:11 +0000)] 
- bump, this may become 0.5.0
- Calling alias.execute() in conjunction with
server_side_cursors won't raise AttributeError.

16 years agonotes on tuning rel_0_5rc4
Mike Bayer [Fri, 14 Nov 2008 21:36:15 +0000 (21:36 +0000)] 
notes on tuning

16 years ago- switched session.save() to session.add() throughout declarative test
Mike Bayer [Fri, 14 Nov 2008 18:57:24 +0000 (18:57 +0000)] 
- switched session.save() to session.add() throughout declarative test
- Fixed PendingDeprecationWarning involving order_by
parameter on relation(). [ticket:1226]
- Unit tests still filter pending deprecation warnings but have a commented-out
line to temporarily disable this behavior.  Tests need to be fully converted
before we can turn this on.

16 years agoPulled out values test that uses boolean evaluation in the SELECT in order to appropr...
Michael Trier [Fri, 14 Nov 2008 03:57:07 +0000 (03:57 +0000)] 
Pulled out values test that uses boolean evaluation in the SELECT in order to appropriately flag it as not supported on mssql. I sure hope I didn't jack things up for other dialects. Cleaned up a comment and removed some commented pdb statements.

16 years agoFixed a problem with the casting of a zero length type to a varchar. It now correctly...
Michael Trier [Fri, 14 Nov 2008 03:57:04 +0000 (03:57 +0000)] 
Fixed a problem with the casting of a zero length type to a varchar. It now correctly adjusts the CAST accordingly.

16 years agoFixed up a lot of missing order_by statements in the tests when using offset. A lot...
Michael Trier [Fri, 14 Nov 2008 03:57:00 +0000 (03:57 +0000)] 
Fixed up a lot of missing order_by statements in the tests when using offset. A lot of dialects don't really require order_by although you'll get unpredictable results. mssql does require order_by with an offset, so this fixes problems with that dialect.

16 years agoThe str(query) output is also correct on the mssql dialect.
Michael Trier [Fri, 14 Nov 2008 03:56:55 +0000 (03:56 +0000)] 
The str(query) output is also correct on the mssql dialect.

16 years ago- Rearranged the `load_dialect_impl()` method in
Mike Bayer [Thu, 13 Nov 2008 20:38:56 +0000 (20:38 +0000)] 
- Rearranged the `load_dialect_impl()` method in
`TypeDecorator` such that it will take effect
even if the user-defined `TypeDecorator` uses
another `TypeDecorator` as its impl.

16 years ago- Can now use a custom "inherit_condition" in
Mike Bayer [Wed, 12 Nov 2008 15:43:17 +0000 (15:43 +0000)] 
- Can now use a custom "inherit_condition" in
__mapper_args__ when using declarative.

16 years agoCorrected mssql schema named subqueries from not properly aliasing the columns. Fixes...
Michael Trier [Wed, 12 Nov 2008 05:36:45 +0000 (05:36 +0000)] 
Corrected mssql schema named subqueries from not properly aliasing the columns. Fixes #973.

16 years agoDoing my part-time editorial duties. Normalized session references and fixed lots...
Michael Trier [Wed, 12 Nov 2008 03:05:13 +0000 (03:05 +0000)] 
Doing my part-time editorial duties. Normalized session references and fixed lots of small spelling and grammar issues.

16 years agoremove errant pdb.set_trace()
Mike Bayer [Tue, 11 Nov 2008 02:04:56 +0000 (02:04 +0000)] 
remove errant pdb.set_trace()

16 years ago- Adjustments to the enhanced garbage collection on
Mike Bayer [Tue, 11 Nov 2008 01:52:42 +0000 (01:52 +0000)] 
- Adjustments to the enhanced garbage collection on
InstanceState to better guard against errors due
to lost state.

16 years agoQuashed import sets deprecation warning on 2.6.. not wild about this but it seems...
Jason Kirtland [Mon, 10 Nov 2008 22:56:22 +0000 (22:56 +0000)] 
Quashed import sets deprecation warning on 2.6.. not wild about this but it seems like it will be ok. [ticket:1209]

16 years ago- converted some more attributes to @memoized_property in expressions
Mike Bayer [Mon, 10 Nov 2008 20:22:18 +0000 (20:22 +0000)] 
- converted some more attributes to @memoized_property in expressions
- flattened an unnecessary KeyError in identity.py
- memoized the default list of mapper properties queried in MapperEntity.setup_context

16 years ago- Restored "active rowcount" fetch before ResultProxy
Mike Bayer [Mon, 10 Nov 2008 16:42:35 +0000 (16:42 +0000)] 
- Restored "active rowcount" fetch before ResultProxy
autocloses the cursor.  This was removed in 0.5rc3.

16 years ago- Restored NotImplementedError on Cls.relation.in_()
Mike Bayer [Mon, 10 Nov 2008 16:18:57 +0000 (16:18 +0000)] 
- Restored NotImplementedError on Cls.relation.in_()
[ticket:1140] [ticket:1221]

16 years agoHandle the mssql port properly. If we're using the SQL Server driver then use the...
Michael Trier [Mon, 10 Nov 2008 04:29:53 +0000 (04:29 +0000)] 
Handle the mssql port properly. If we're using the SQL Server driver then use the correct host,port syntax, otherwise use the Port= parameter in the connection string. Fixes #1192.

16 years agoFlagged another transaction test as causing mssql to hang. Need to look into these.
Michael Trier [Mon, 10 Nov 2008 01:11:46 +0000 (01:11 +0000)] 
Flagged another transaction test as causing mssql to hang. Need to look into these.

16 years agoCorrected issue with decimal e notation that broke regular decimal tests for mssql.
Michael Trier [Mon, 10 Nov 2008 01:11:43 +0000 (01:11 +0000)] 
Corrected issue with decimal e notation that broke regular decimal tests for mssql.

16 years agoIf there's a zero offset with mssql just ignore it.
Michael Trier [Mon, 10 Nov 2008 01:11:40 +0000 (01:11 +0000)] 
If there's a zero offset with mssql just ignore it.

16 years agoCorrected problem in access dialect that was still referring to the old column.foreig...
Michael Trier [Mon, 10 Nov 2008 01:11:37 +0000 (01:11 +0000)] 
Corrected problem in access dialect that was still referring to the old column.foreign_key property.

16 years agoflattened _get_from_objects() into a descriptor/class-bound attribute
Mike Bayer [Sun, 9 Nov 2008 21:34:59 +0000 (21:34 +0000)] 
flattened _get_from_objects() into a descriptor/class-bound attribute