Commit Graph

6985 Commits

Author SHA1 Message Date
Mike Bayer 207be52ec7 - repair "map to selectable" example, place a caveat that this isn't
something people should be pursuing
2013-02-24 14:06:35 -05:00
Mike Bayer ea80857e56 - fix to PDF generation failing totally, latex tools here
are broken but will see if RTD produces a pdf
2013-02-14 15:58:11 -05:00
Mike Bayer 20f212a972 Added tag rel_0_7_10 for changeset 7b2088b0be 2013-02-07 19:28:41 -05:00
Mike Bayer 7b2088b0be - add upload options for GPG 2013-02-07 19:28:37 -05:00
Mike Bayer 573cda9704 0.7.10 2013-02-07 19:13:32 -05:00
Mike Bayer fabd00feb3 this is 0.7.10 2013-02-07 18:54:49 -05:00
Mike Bayer 3b483dac2e Added a conditional import to the ``gaerdbms`` dialect which attempts
to import rdbms_apiproxy vs. rdbms_googleapi to work
on both dev and production platforms.  Also now honors the
``instance`` attribute.  Courtesy Sean Lynch.  Also backported
enhancements to allow username/password as well as
fixing error code interpretation from 0.8.
[ticket:2649]
2013-02-02 21:03:57 -05:00
Mike Bayer b517e974e0 Backported adjustment to ``__repr__`` for
:class:`.TypeDecorator` to 0.7, allows :class:`.PickleType`
to produce a clean ``repr()`` to help with Alembic.
[ticket:2594] [ticket:2584]
2013-02-02 17:00:32 -05:00
Mike Bayer 11efa216e5 moderinize ordering list docs [ticket:2557] 2013-02-02 16:49:19 -05:00
Mike Bayer 027eda4a34 Fixed bug where :meth:`.Table.tometadata` would fail if a
:class:`.Column` had both a foreign key as well as an
alternate ".key" name for the column.
[ticket:2643]
2013-01-27 11:24:45 -05:00
Mike Bayer 397ff3c84d Added a py3K conditional around unnecessary .decode()
call in mssql information schema, fixes reflection
in Py3K. [ticket:2638]
2013-01-12 19:52:26 -05:00
Mike Bayer 5f65518595 remove all specifics from the "supported features" section as this
is not maintainable
2013-01-12 17:44:07 -05:00
Mike Bayer 13141fc065 recreate some profile results due to the change in #2650 2013-01-12 17:38:23 -05:00
Mike Bayer 973fd4a28a Fixed potential memory leak which could occur if an
arbitrary number of :func:`.sessionmaker` objects
were created.   The anonymous subclass created by
the sessionmaker, when dereferenced, would not be garbage
collected due to remaining class-level references from the
event package.  This issue also applies to any custom system
that made use of ad-hoc subclasses in conjunction with
an event dispatcher. [ticket:2650]
2013-01-12 17:32:32 -05:00
Mike Bayer 9f72910c7c :meth:`.Query.merge_result` can now load rows from an outer join
where an entity may be ``None`` without throwing an error.

[ticket:2640]
2013-01-08 10:57:15 -05:00
Mike Bayer 5de45b954b - add test_loading from 0.8
- adapt 0.8's system of pre-calcing labels from query entities
2013-01-08 10:21:53 -05:00
Diana Clarke 8a99f3e13c happy new year (see #2645) 2013-01-01 18:58:03 -05:00
Mike Bayer 6dd4bda241 merge taavi's fix from default 2012-12-31 11:51:39 -05:00
Diana Clarke ed1a89b299 fixing typos in the types docs (see #2639) 2012-12-23 18:18:29 -05:00
Diana Clarke 422448e254 docs - missing 'attr' in AssociationProxy join see #2636 2012-12-16 08:04:52 -05:00
Mike Bayer 3f72142df0 More adjustment to this SQLite related issue which was released in
0.7.9, to intercept legacy SQLite quoting characters when reflecting
foreign keys.  In addition to intercepting double quotes, other
quoting characters such as brackets, backticks, and single quotes
are now also intercepted. [ticket:2568]
2012-12-14 10:32:56 -05:00
Mike Bayer d64dba17bb add a doc for the [ticket:2631] quirk 2012-12-08 20:39:32 -05:00
Mike Bayer 4bfa09c16c Fixed bug where using server_onupdate=<FetchedValue|DefaultClause>
without passing the "for_update=True" flag would apply the default
object to the server_default, blowing away whatever was there.
The explicit for_update=True argument shouldn't be needed with this usage
(especially since the documentation shows an example without it being
used) so it is now arranged internally using a copy of the given default
object, if the flag isn't set to what corresponds to that argument.
[ticket:2631]
2012-12-08 20:31:06 -05:00
Mike Bayer f2909ff71b The Oracle LONG type, while an unbounded text type, does not appear
to use the cx_Oracle.LOB type when result rows are returned,
so the dialect has been repaired to exclude LONG from
having cx_Oracle.LOB filtering applied.
[ticket:2620]
2012-12-06 19:32:58 -05:00
Mike Bayer a1405b3d5a merge dance 2012-12-06 19:15:09 -05:00
Mike Bayer 0b0415f49b Repaired the usage of ``.prepare()`` in conjunction with
cx_Oracle so that a return value of ``False`` will result
in no call to ``connection.commit()``, hence avoiding
"no transaction" errors.   Two-phase transactions have
now been shown to work in a rudimental fashion with
SQLAlchemy and cx_oracle, however are subject to caveats
observed with the driver; check the documentation
for details. [ticket:2611]
2012-12-06 19:14:12 -05:00
Diana Clarke cf7a4abbf3 should be 'where' not 'filter' #2546 2012-12-05 19:54:40 -05:00
Mike Bayer 84e000f076 The :class:`.MutableComposite` type did not allow for the
:meth:`.MutableBase.coerce` method to be used, even though
the code seemed to indicate this intent, so this now works
and a brief example is added.  As a side-effect,
the mechanics of this event handler have been changed so that
new :class:`.MutableComposite` types no longer add per-type
global event handlers.  Also in 0.8.0b2.
[ticket:2624]
2012-12-03 19:56:55 -05:00
Mike Bayer f309abb638 comment out PDF for now, it sucks 2012-11-18 12:36:24 -05:00
Mike Bayer bef89a2440 Fixed :meth:`.MetaData.reflect` to correctly use
the given :class:`.Connection`, if given, without
opening a second connection from that connection's
:class:`.Engine`. [ticket:2604]
2012-11-14 00:51:38 -05:00
Mike Bayer 7a03aded91 Fixed bug whereby using "key" with Column
in conjunction with "schema" for the owning
Table would fail to locate result rows due
to the MSSQL dialect's "schema rendering"
logic's failure to take .key into account.
[ticket:2607]
2012-11-13 23:45:52 -05:00
Mike Bayer 31adc09e42 remove some whitespace 2012-10-25 15:58:26 -04:00
Mike Bayer a5555c25c8 update to new doc system 2012-10-25 15:49:44 -04:00
Mike Bayer 3fbbecbf16 - [bug] changed the list of cx_oracle types that are
excluded from the setinputsizes() step to only include
    STRING and UNICODE; CLOB and NCLOB are removed.  This
    is to work around cx_oracle behavior which is broken
    for the executemany() call.  In 0.8, this same change
    is applied however it is also configurable via the
    exclude_setinputsizes argument. [ticket:2561]
2012-10-10 13:22:57 -04:00
Mike Bayer 44297b474f - [feature] Added "read_timeout" flag to MySQLdb
dialect.  [ticket:2554]
2012-10-10 13:15:16 -04:00
Mike Bayer 7d0f69170e - [feature] Added "raise_on_warnings" flag to OurSQL
dialect.  [ticket:2523]
2012-10-10 13:13:41 -04:00
Mike Bayer 1580485698 - jam 0.8's rework of the session tests here so future merges have a chance of working 2012-10-06 12:16:39 -04:00
Mike Bayer 23cad2a549 fix __init__ in the metaclass 2012-10-04 10:32:51 -04:00
Mike Bayer ee9518f8ae - add one more #2583 test to cover the "multiple PK switch" use case 2012-10-03 11:11:34 -04:00
Mike Bayer 49703bf01a - [bug] Fixed Session accounting bug whereby replacing
a deleted object in the identity map with another
    object of the same primary key would raise a
    "conflicting state" error on rollback(),
    if the replaced primary key were established either
    via non-unitofwork-established INSERT statement
    or by primary key switch of another instance.
    [ticket:2583]
2012-10-03 11:06:22 -04:00
Mike Bayer 8bee7981e5 Added tag rel_0_7_9 for changeset b26bbaa14e 2012-10-01 18:42:04 -04:00
Mike Bayer b26bbaa14e add .txt here 2012-10-01 18:36:12 -04:00
Mike Bayer ebc9952900 0.7.9 2012-10-01 18:32:49 -04:00
Mike Bayer 557994bd19 obvious tidy 2012-10-01 17:28:57 -04:00
Mike Bayer a856dc9217 - [bug] Fixed bug where reflection of primary key constraint
would double up columns if the same constraint/table
    existed in multiple schemas.
2012-09-30 18:24:51 -04:00
Mike Bayer 2205d49fe7 - [bug] Fixed bug in over() construct whereby
passing an empty list for either partition_by
    or order_by, as opposed to None, would fail
    to generate correctly.
    Courtesy Gunnlaugur Por Briem.
    [ticket:2574]
2012-09-30 17:20:04 -04:00
Mike Bayer 0d41daa509 - [bug] Fixed compiler bug whereby using a correlated
subquery within an ORDER BY would fail to render correctly
    if the stament also used LIMIT/OFFSET, due to mis-rendering
    within the ROW_NUMBER() OVER clause.  Fix courtesy
    sayap [ticket:2538]
2012-09-30 16:57:23 -04:00
Mike Bayer 46e218e5f1 add glossary, "release" term 2012-09-30 11:56:55 -04:00
Mike Bayer bbcf70019a session modernize 2012-09-30 11:31:49 -04:00
Mike Bayer f6825fdeea - dont talk about metadata.bind
- fix some :func:->:class: declared_attr
2012-09-30 11:17:25 -04:00