Commit Graph

5242 Commits

Author SHA1 Message Date
Mike Bayer 53faada96c fixed nested rollbacks 2006-06-14 15:50:40 +00:00
Mike Bayer 0642dcb796 unit tests for dangling subquery, many-to-many clear-and-resave 2006-06-14 15:39:46 +00:00
Mike Bayer dd061f40b4 "parent track" function needed to be more specific to the parent class 2006-06-10 19:40:26 +00:00
Mike Bayer 6d22c93181 separated standalone between(), column.between(), put literal checking for both, favor column.between() 2006-06-08 17:38:37 +00:00
Mike Bayer c133b136e1 fixed typing for between() operator, [ticket:202] 2006-06-08 17:29:18 +00:00
Mike Bayer 8005c15159 late compilation of mappers. now you can create mappers in any order, and they will compile their internal state when first used in a query or flush operation (or their props or 'c'/'columns' attributes are used). includes various cleanups and fixes in support of the change, including some unit test changes, additional unit tests. 2006-06-08 16:58:14 +00:00
Mike Bayer d37d8681e4 fixed bug where tables with schema name werent getting indexed in metadata correctly 2006-06-06 16:38:30 +00:00
Mike Bayer bdb41655d1 added "NonExistentTable" exception throw to reflection, courtesy lbruno@republico.estv.ipv.pt, for [ticket:138] 2006-06-06 00:11:54 +00:00
Mike Bayer 20563ddadd "foreignkey" property of PropertyLoader is a sets.Set. removed "foreigntable".
simplified/fixed foreign key location in _find_dependent(), fixes [ticket:151]
2006-06-05 22:45:10 +00:00
Mike Bayer 8ce1d43bb5 tweaks 2006-06-05 19:27:47 +00:00
Mike Bayer 2c64bca214 0.2.2 prep, added "pickler" option to Pickle type 2006-06-05 19:18:48 +00:00
Mike Bayer 82ee832c8d more fixes to transaction nesting, interacts better with close() statement 2006-06-05 18:25:35 +00:00
Mike Bayer 120dcee5a7 reorganized unit tests into subdirectories 2006-06-05 17:25:51 +00:00
Mike Bayer f8314ef9ff improvements/fixes to session cascade iteration,
fixes to entity_name propigation
2006-06-05 02:31:53 +00:00
Mike Bayer 7e5b3d2f9f added new polymorph test, todos for session/cascade 2006-06-03 18:49:10 +00:00
Mike Bayer cfcf47338d restored global_connect() function, default table metadata 2006-06-02 22:34:54 +00:00
Mike Bayer 297d35ba49 - got rudimental "mapping to multiple tables" functionality cleaned up,
more correctly documented
2006-06-02 01:10:20 +00:00
Mike Bayer c7089aeb47 fixes half of [ticket:192], query.load()/get() with a unicode argument was failing to apply type conversion to the bind parameter 2006-06-01 15:49:58 +00:00
Mike Bayer 8b67ee61c7 implemented query string support in db urls, gets sent to dialect **kwargs, [ticket:196] 2006-06-01 02:03:36 +00:00
Mike Bayer c60b598682 more test adjustments for firebird 2006-06-01 01:18:00 +00:00
Mike Bayer 89a9c23b37 brad clement's 0.2 firebird support ! 2006-06-01 01:12:39 +00:00
Mike Bayer 0d97e5b5a2 tweak to join test 2006-05-31 06:19:56 +00:00
Mike Bayer 2ee90cc2e0 further refinement of the polymorphic UOWTask idea. circular dependency sort has to be pretty much focused on the base mappers
of any inheritance chain, as it now takes part in pretty much any two dependent classes who share the same inherited parent.
2006-05-30 17:11:14 +00:00
Mike Bayer 487ff607d2 polymorphic linked list test, tests polymorphic inheritance with circular refs 2006-05-29 22:15:16 +00:00
Mike Bayer ec48df4fc3 unit-tested product/specline/etc stuff 2006-05-29 21:41:38 +00:00
Mike Bayer c12b48b62e connection more careful about checking if its closed before operations
small fix to table sort if no tables
unit test tweaks
2006-05-29 02:57:33 +00:00
Mike Bayer a88dfca37a unit test adjustments to insure weakref status on connecitonfairy 2006-05-29 02:11:14 +00:00
Mike Bayer 4b88979021 pool needed weakref
modified auto rollback to only occur when no transaction
more unit tests
2006-05-28 23:57:14 +00:00
Mike Bayer 123cb1064c more tlocal trans stuff 2006-05-28 20:27:08 +00:00
Mike Bayer 308f7c2df0 skips blank arguments 2006-05-28 19:16:43 +00:00
Mike Bayer abb24ed648 extra tests... 2006-05-28 19:02:09 +00:00
Mike Bayer e36ec1407d do-nothing dispose() method in SingletonThreadPool 2006-05-28 18:01:22 +00:00
Mike Bayer f49dcdd2cf would help if commit() worked too... 2006-05-28 17:59:06 +00:00
Mike Bayer 6b03def6cc TLEngine needed a partial rewrite.... 2006-05-28 17:46:45 +00:00
Mike Bayer 73221e8f93 latest overhaul to association objects, plus an actual unit test
this change probably fixes [ticket:134]
2006-05-27 19:44:05 +00:00
Mike Bayer c6baecfd79 converted sqlsoup, got its doctests working (werent working in 0.1 either....), added doctest hook to testsuite
fix to selectone_by/selectone when zero rows returned
2006-05-27 01:19:56 +00:00
Mike Bayer 3b5ba3870e added has_key to RowProxy, + caching of key lookups
fix for mapper translate_row for deferred columns
continuing with the "polymorph-tizing" of the unit of work, dependency processing accesses objects on each target task polymorphically
2006-05-27 00:13:12 +00:00
Mike Bayer 8270e0a458 uncompleted additional inheritance tests 2006-05-26 23:35:56 +00:00
Mike Bayer b3dbeee5c4 correction to running single named tests 2006-05-25 16:23:39 +00:00
Mike Bayer bb79e2e871 merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1 2006-05-25 14:20:23 +00:00
Mike Bayer 5156d5141a anonymous indexes use column._label to avoid name collisions 2006-05-23 14:59:32 +00:00
Mike Bayer 1bbee67774 hypothetical (failing) test for primary key selection of joins 2006-05-23 14:59:11 +00:00
Mike Bayer 030c50d20d c. martinez' fix to slicing logic 2006-05-18 14:16:56 +00:00
Mike Bayer 79555fb434 rick morrison's CASE statement + unit test 2006-05-15 23:47:07 +00:00
Mike Bayer 00b607ded6 extra unicode tests
added 'threaded' keyword argument to oracle.py (pretty important....)
2006-05-15 16:44:38 +00:00
Mike Bayer 116295d097 got removed somehow 2006-05-05 17:52:00 +00:00
Mike Bayer deb80dbc7b added 'supports', 'unsupports' decorators to unittests so that they can all pass on all DBs 2006-04-29 16:42:37 +00:00
Mike Bayer 337d3b2685 more work on types. this is the simplest implementation which is a little more manual 2006-04-29 16:12:02 +00:00
Mike Bayer 4cff2c1a3c *another* big types change....the old way was still wrong...this way is better (still need to go through it again since i am apparently type-impaired....) 2006-04-29 01:05:13 +00:00
Mike Bayer 409acb4208 fix for [ticket:169], moves the creation of "default" parameters more accurately
where theyre supposed to be
2006-04-28 23:31:59 +00:00