Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
link to declarative concrete helper doc
Tags
rel_0_7_3
Mike Bayer
0.7.3 prep
Mike Bayer
some mssql stuff, though unicode is really not working still...
Mike Bayer
fix this for oracle
Mike Bayer
fix this test for oursql
Mike Bayer
- Added client_encoding parameter to create_engine() when the postgresql+psycopg2 dialect is used; calls the psycopg2 set_client_encoding() method with the value upon connect. [ticket:1839]
Mike Bayer
- Reinstated "comparator_factory" argument to composite(), removed when 0.7 was released. [ticket:2248]
Mike Bayer
- Added an exception catch + warning for the "return unicode detection" step within connect, allows databases that crash on NVARCHAR to continue initializing, assuming no NVARCHAR type implemented. [ticket:2299]
Mike Bayer
fix typos [ticket:2294] [ticket:2300]. these are both due to reworkings of 0.6 docs that don't have these typos
Mike Bayer
- Improved query.join() such that the "left" side can more flexibly be a non-ORM selectable, such as a subquery. A selectable placed in select_from() will now be used as the left side, favored over implicit usage of a mapped entity. If the join still fails based on lack of foreign keys, the error message includes this detail. Thanks to brianrhude on IRC for the test case. [ticket:2298]
Mike Bayer
- Added new flag expire_on_flush=False to column_property(), marks those properties that would otherwise be considered to be "readonly", i.e. derived from SQL expressions, to retain their value after a flush has occurred, including if the parent object itself was involved in an update.
Mike Bayer
- adjust some tests and such to work better with a mysql 5.5 install - Added mysql_length parameter to Index construct, specifies "length" for indexes. [ticket:2293]
Mike Bayer
- Fixed bug related to [ticket:2141] whereby the same modified index behavior in PG 9 affected primary key reflection on a renamed column. [ticket:2291]. Also in 0.6.9.
Mike Bayer
add a test to confirm alter table of pk column gets reflected
Mike Bayer
undo that change with the _, it doesn't break round trips
Mike Bayer
- a CREATE TABLE will put the COLLATE option after CHARSET, which appears to be part of MySQL's arbitrary rules regarding if it will actually work or not. [ticket:2225] - reflecting a MySQL table will ensure that the options added to the Table at the table.kwargs level have spaces converted to underscores. This is a slight behavioral change specifically to the "mysql_default_charset" option which previously would not be symmetrical.
Mike Bayer
- Added "postgresql_using" argument to Index(), produces USING clause to specify index implementation for PG. [ticket:2290]. Thanks to Ryan P. Kelly for the patch.
Mike Bayer
- Enhanced the instrumentation in the ORM to support Py3K's new argument style of "required kw arguments", i.e. fn(a, b, *, c, d), fn(a, b, *args, c, d). Argument signatures of mapped object's __init__ method will be preserved, including required kw rules. [ticket:2237]
Mike Bayer
- Fixed bug whereby mapper.order_by attribute would be ignored in the "inner" query within a subquery eager load. [ticket:2287]. Also in 0.6.9.
Mike Bayer
- SQLSoup will not be included in version 0.8 of SQLAlchemy; while useful, we would like to keep SQLAlchemy itself focused on one ORM usage paradigm. SQLSoup will hopefully soon be superseded by a third party project. [ticket:2262]
Mike Bayer
changelog
Mike Bayer
warn when a subclass' base uses @declared_attr for a regular column - does not propagate to subclasses. [ticket:2283]
Mike Bayer
improved docs on select_from() [ticket:2274]
Mike Bayer
- Adjusted dictlike-polymorphic.py example to apply the CAST such that it works on PG, other databases. [ticket:2266]
Mike Bayer
fix test
Mike Bayer
fix tests here, mssql/mysql are mutually exclusive about x IN/= <subquery> at least when LIMIT is present
Mike Bayer
- When an open Session is garbage collected, the objects within it which remain are considered detached again when they are add()-ed to a new Session. This is accomplished by an extra check that the previous "session_key" doesn't actually exist among the pool of Sessions. [ticket:2281]
Mike Bayer
- The String type now generates VARCHAR2 on Oracle which is recommended as the default VARCHAR. Added an explicit VARCHAR2 and NVARCHAR2 to the Oracle dialect as well. Using NVARCHAR still generates "NVARCHAR2" - there is no "NVARCHAR" on Oracle - this remains a slight breakage of the "uppercase types always give exactly that" policy. VARCHAR still generates "VARCHAR", keeping with the policy. If Oracle were to…
Mike Bayer
- The integer "id" used to link a mapped instance with its owning Session is now generated by a sequence generation function rather than id(Session), to eliminate the possibility of recycled id() values causing an incorrect result, no need to check that object actually in the session. [ticket:2280]
Mike Bayer
- The entry point resolution supported by create_engine() now supports resolution of individual DBAPI drivers on top of a built-in or entry point-resolved dialect, using the standard '+' notation - it's converted to a '.' before being resolved as an entry point. [ticket:2286]
  1. Prev
  2. Next