Commit Graph

  • dc1cc365c2 when QueuePool times out it raises a TimeoutError instead of erroneously making another connection Mike Bayer 2006-06-26 02:06:44 +00:00
  • ff8458ab3e fixed bug when specifying explicit module to mysql dialect Mike Bayer 2006-06-23 14:38:16 +00:00
  • 412f7f2ff0 added *extra to mysql string type to consume extra unsupported arguments from reflection Mike Bayer 2006-06-22 22:37:10 +00:00
  • ad7ffd767d fixes to inheritance firing off dependency processors correctly + unittest Mike Bayer 2006-06-22 22:23:57 +00:00
  • 0e0cedaf9d identified another TLTransaction scenario, and adjusted TLConnection/TLSession to fix this as well (reverted previous change, and overriding in_transaction() instead) Mike Bayer 2006-06-22 20:03:09 +00:00
  • 5f3451fcc3 TLConnection insures that it is used to create a transaction via the session when begin() is called, so that it has proper transactional context, + unittests Mike Bayer 2006-06-22 19:46:44 +00:00
  • 4875953e03 still fixing compilation.....dum de dum..... Mike Bayer 2006-06-22 19:29:24 +00:00
  • 7367b99578 removed non py2.3ish parenthesis Mike Bayer 2006-06-22 04:31:15 +00:00
  • 0ab010867f more compilation fixes Mike Bayer 2006-06-22 04:29:55 +00:00
  • bb1fde2042 Replaced tab spacing with plain spaces. sean 2006-06-21 16:29:15 +00:00
  • 6668720a5a Changed mapper.get_session to compile mapper and thereby create the extension chain needed to lookup the current session. sean 2006-06-21 16:24:05 +00:00
  • cf8baeeefa some cleanup to the new compilation changes Mike Bayer 2006-06-20 23:22:54 +00:00
  • 6ca6b35522 possible fix to deferred compilation, adds an extra kick in case everything wasnt compiled Mike Bayer 2006-06-20 02:45:03 +00:00
  • ac56d17a7e single space for MySQL appeasement Mike Bayer 2006-06-19 21:52:54 +00:00
  • 4445453a0c more development on using eager loads/limit/offset/join_via/order_by at the same time Mike Bayer 2006-06-19 21:44:56 +00:00
  • 40e9887b6d when Query does the "nested select" thing, it copies the ORDER BY to be placed on the "outer" select, so that eager loaders modify only the outer one and not the inner one Mike Bayer 2006-06-19 20:41:42 +00:00
  • e2b5b9d0e4 added check for conflicting backrefs + unit test identified unit test where mapper properties must be set up before the surrogate mapper is created Mike Bayer 2006-06-19 17:47:21 +00:00
  • f5c5c4e6a7 Added some additional data to exception raised in PropertyLoader,_get_direction when cannot determine the direction to specify exactly which relation failed. Robert Leftwich 2006-06-18 22:16:36 +00:00
  • 69549460f7 lazy load and deferred load operations require the parent object to be in a Session to do the operation; whereas before the operation would just return a blank list or None, it now raises an exception. Mike Bayer 2006-06-18 00:56:25 +00:00
  • d97ee85ca8 try/except around init.__name__ = oldinit.__name__ for py2.3 compat Mike Bayer 2006-06-17 14:57:10 +00:00
  • 1ffed8432e cast converted into its own ClauseElement so that it can have an explicit compilation function in ANSICompiler MySQLCompiler then skips most CAST calls since it only seems to support the standard syntax for Date types; other types now a TODO for MySQL then, polymorphic_union() function now CASTs null()s to the type corresponding to the columns in the UNION, since postgres doesnt like mixing NULL with integer types (long road for that .....) rel_0_2_3 Mike Bayer 2006-06-17 00:53:33 +00:00
  • 3736b3ddff if an object fails construction, doesnt get added to the session Mike Bayer 2006-06-17 00:45:45 +00:00
  • 97dd5dab1e updates Mike Bayer 2006-06-16 19:38:31 +00:00
  • f6718830bf unsupported unit test on mysql Mike Bayer 2006-06-16 19:28:36 +00:00
  • 26e3486344 more intelligent "removal" of list items when a list attribute is replaced, doesnt actually "remove" the items from teh replaced list just marks them as "removed" from the parent object for history purposes Mike Bayer 2006-06-16 19:21:57 +00:00
  • bcc4f63a07 removed historyarray test ForeignKey is more intelligent about locating the parent table it represents, in the case that its attached to a CompoundSelect column which has multiple "originals", some of which might not be schema.Columns Mike Bayer 2006-06-16 19:02:10 +00:00
  • 091d40344e fixed bug where if a many-to-many table mapped as "secondary" had other cols in it, delete operations would try to match up on those columns. also fixed bug in new attributes if you set a list based attribute to a blank list, properly fires the 'delete' event for the elements of the previous list Mike Bayer 2006-06-16 03:19:53 +00:00
  • b63c5cc8b1 fixed 'port' attribute of URL to be an integer if present [ticket:209] Mike Bayer 2006-06-15 20:30:04 +00:00
  • a51e903270 some adjustments Mike Bayer 2006-06-15 16:05:59 +00:00
  • 84fdccc0cb merged attributes rewrite Mike Bayer 2006-06-15 15:53:00 +00:00
  • f9468e8759 if an item attached to a parent is found to be already in the session, then the "save-update" cascade operation doesnt take place. currently this prevents unncessessary cascading due to backref events, which was a massive speed hit. Mike Bayer 2006-06-15 15:27:39 +00:00
  • 3f8bfe517c fixed bug where Column with redefined "key" property wasnt getting type conversion happening in the ResultProxy [ticket:207] Mike Bayer 2006-06-14 16:46:38 +00:00
  • 53faada96c fixed nested rollbacks Mike Bayer 2006-06-14 15:50:40 +00:00
  • 0642dcb796 unit tests for dangling subquery, many-to-many clear-and-resave Mike Bayer 2006-06-14 15:39:46 +00:00
  • 6f8459c313 adjustment to better allow textual from clauses Mike Bayer 2006-06-12 19:53:42 +00:00
  • dd061f40b4 "parent track" function needed to be more specific to the parent class Mike Bayer 2006-06-10 19:40:26 +00:00
  • 6d22c93181 separated standalone between(), column.between(), put literal checking for both, favor column.between() Mike Bayer 2006-06-08 17:38:37 +00:00
  • c133b136e1 fixed typing for between() operator, [ticket:202] Mike Bayer 2006-06-08 17:29:18 +00:00
  • 2a79583ef4 fixed module scoping for class_mapper [ticket:201] Mike Bayer 2006-06-08 17:04:15 +00:00
  • 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. Mike Bayer 2006-06-08 16:58:14 +00:00
  • 8f8f5dec6c possible fix to cascade_mappers Mike Bayer 2006-06-07 23:32:52 +00:00
  • 97bef495a3 fixed [ticket:200] Mike Bayer 2006-06-07 23:16:35 +00:00
  • 969d244f1f Further improved the process_relationships function to handle the ordering of class definitions better. The function was only looking at relationships, not foreign keys, and was making some improper assumptions. The unit tests all still pass, and now some of my own code actually works, regardless of the order that I define the classes in.' 'lib/sqlalchemy/ext/activemapper.py Jonathan LaCour 2006-06-06 17:58:41 +00:00
  • d37d8681e4 fixed bug where tables with schema name werent getting indexed in metadata correctly Mike Bayer 2006-06-06 16:38:30 +00:00
  • dc47bfd292 Copy __name__ and __doc__ from oldinit. sean 2006-06-06 04:44:39 +00:00
  • 01e8c1e742 fix to backref when its none for one-to-one Mike Bayer 2006-06-06 01:33:17 +00:00
  • bdb41655d1 added "NonExistentTable" exception throw to reflection, courtesy lbruno@republico.estv.ipv.pt, for [ticket:138] Mike Bayer 2006-06-06 00:11:54 +00:00
  • e69fa9c45d factored out "inheriting_tasks" member of UOWTask. all "polymorphic traversal" is done via the polymorphic_tasks() method. Mike Bayer 2006-06-06 00:02:48 +00:00
  • a4252a12b0 HashSet is gone, uses set() for most sets in py2.4 or sets.Set. ordered set functionality supplied by a subclass of sets.Set Mike Bayer 2006-06-05 23:28:44 +00:00
  • 20563ddadd "foreignkey" property of PropertyLoader is a sets.Set. removed "foreigntable". simplified/fixed foreign key location in _find_dependent(), fixes [ticket:151] Mike Bayer 2006-06-05 22:45:10 +00:00
  • d7cd378dea fixed InvalidRequestException -> InvalidRequestError typo sean 2006-06-05 21:19:20 +00:00
  • 8ce1d43bb5 tweaks rel_0_2_2 Mike Bayer 2006-06-05 19:27:47 +00:00
  • 2c64bca214 0.2.2 prep, added "pickler" option to Pickle type Mike Bayer 2006-06-05 19:18:48 +00:00
  • e1796fcdcb force_close... Mike Bayer 2006-06-05 18:26:54 +00:00
  • 82ee832c8d more fixes to transaction nesting, interacts better with close() statement Mike Bayer 2006-06-05 18:25:35 +00:00
  • 120dcee5a7 reorganized unit tests into subdirectories Mike Bayer 2006-06-05 17:25:51 +00:00
  • f8314ef9ff improvements/fixes to session cascade iteration, fixes to entity_name propigation Mike Bayer 2006-06-05 02:31:53 +00:00
  • 7e5b3d2f9f added new polymorph test, todos for session/cascade Mike Bayer 2006-06-03 18:49:10 +00:00
  • fd6c2c0c21 dbengine doc: no support for pg1 postgres: if module is none, still use pyformat for some unit tests Mike Bayer 2006-06-03 17:48:55 +00:00
  • ff64be5e05 doc for oracle fix Mike Bayer 2006-06-02 23:11:06 +00:00
  • 4bbbe40dad confirmed that makedsn works with host/port/sid Mike Bayer 2006-06-02 23:05:33 +00:00
  • cfcf47338d restored global_connect() function, default table metadata Mike Bayer 2006-06-02 22:34:54 +00:00
  • 58078e8e09 adjustment to datetime Mike Bayer 2006-06-02 22:14:42 +00:00
  • ed547ce342 pool doesnt consume random **kwargs Mike Bayer 2006-06-02 01:31:24 +00:00
  • 9d9ef43f9b cleanup Mike Bayer 2006-06-02 01:17:09 +00:00
  • 297d35ba49 - got rudimental "mapping to multiple tables" functionality cleaned up, more correctly documented Mike Bayer 2006-06-02 01:10:20 +00:00
  • 2b9322f606 update Mike Bayer 2006-06-01 20:59:49 +00:00
  • d9e9c25380 fixed host connector again, now for [ticket:197] Mike Bayer 2006-06-01 20:52:12 +00:00
  • 8e949c2eb5 switched generator to list comprehension Mike Bayer 2006-06-01 18:22:49 +00:00
  • 04c1d3f012 create_connect_args can create DSN from host/port, submitted by bernd.dorn@fhv.at for [ticket:192] Mike Bayer 2006-06-01 15:55:52 +00:00
  • c7089aeb47 fixes half of [ticket:192], query.load()/get() with a unicode argument was failing to apply type conversion to the bind parameter Mike Bayer 2006-06-01 15:49:58 +00:00
  • 8f2d194b20 "count" label changed to "rowcount", and default "count" argument is first pk col of the table or the first col if no pks Mike Bayer 2006-06-01 15:20:35 +00:00
  • 8b67ee61c7 implemented query string support in db urls, gets sent to dialect **kwargs, [ticket:196] Mike Bayer 2006-06-01 02:03:36 +00:00
  • c60b598682 more test adjustments for firebird Mike Bayer 2006-06-01 01:18:00 +00:00
  • 89a9c23b37 brad clement's 0.2 firebird support ! Mike Bayer 2006-06-01 01:12:39 +00:00
  • 8c81fb649c some comments...more to come Mike Bayer 2006-06-01 01:11:52 +00:00
  • ea717b545c inherited synchronization behavior fixed to descend all the way to the base class Mike Bayer 2006-05-31 16:15:10 +00:00
  • 3ff5cf607f simplification/improvement to circular dependency sort (properly batches now) mapper accepts add_property calls with columns that are not in its selectable (allows deferreds in, generally more lenient) Mike Bayer 2006-05-31 06:22:06 +00:00
  • 0d97e5b5a2 tweak to join test Mike Bayer 2006-05-31 06:19:56 +00:00
  • e8483ca311 further tweaks to polymorphic loading...getting double polymorphic loaders to work Mike Bayer 2006-05-30 23:36:19 +00:00
  • 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. Mike Bayer 2006-05-30 17:11:14 +00:00
  • 16d222ea23 fixed [ticket:188] updated changelog Mike Bayer 2006-05-29 22:41:30 +00:00
  • 487ff607d2 polymorphic linked list test, tests polymorphic inheritance with circular refs Mike Bayer 2006-05-29 22:15:16 +00:00
  • ec48df4fc3 unit-tested product/specline/etc stuff Mike Bayer 2006-05-29 21:41:38 +00:00
  • 50e5619a48 more polymorphic adjustments to circular dependency sort Mike Bayer 2006-05-29 17:21:41 +00:00
  • 11fab37133 echo_pool flag fixed removed incorrect paragraph regarding release modes Mike Bayer 2006-05-29 16:49:42 +00:00
  • 0f4f7fd620 working on [ticket:190], getting circular dependency sort to work with inheriting mappers Mike Bayer 2006-05-29 05:17:21 +00:00
  • d689e12595 0.2.1 prep rel_0_2_1 Mike Bayer 2006-05-29 03:14:11 +00:00
  • c12b48b62e connection more careful about checking if its closed before operations small fix to table sort if no tables unit test tweaks Mike Bayer 2006-05-29 02:57:33 +00:00
  • 9f5443a2b6 added extra info for association object threadlocal transaction benefits from an explicit close() on the connection besides de-referencing it Mike Bayer 2006-05-29 02:33:03 +00:00
  • 44ec1ed1c8 exceptions... Mike Bayer 2006-05-29 02:12:53 +00:00
  • a88dfca37a unit test adjustments to insure weakref status on connecitonfairy Mike Bayer 2006-05-29 02:11:14 +00:00
  • 4b88979021 pool needed weakref modified auto rollback to only occur when no transaction more unit tests Mike Bayer 2006-05-28 23:57:14 +00:00
  • 123cb1064c more tlocal trans stuff Mike Bayer 2006-05-28 20:27:08 +00:00
  • 308f7c2df0 skips blank arguments Mike Bayer 2006-05-28 19:16:43 +00:00
  • abb24ed648 extra tests... Mike Bayer 2006-05-28 19:02:09 +00:00
  • e36ec1407d do-nothing dispose() method in SingletonThreadPool Mike Bayer 2006-05-28 18:01:22 +00:00
  • f49dcdd2cf would help if commit() worked too... Mike Bayer 2006-05-28 17:59:06 +00:00
  • 6b03def6cc TLEngine needed a partial rewrite.... Mike Bayer 2006-05-28 17:46:45 +00:00
  • b62451e321 check for not enough inserted pks to backfill the object Mike Bayer 2006-05-28 16:37:22 +00:00