On May 14, 2008, at 5:05 PM, Jacob Gabrielson wrote:

>
> Hi,
>
> Those changes fixed it!  It's a pretty minor issue, but would it make
> sense for SA to log a warning when you try to use begin_nested() in a
> scenario that doesn't support it?

yea I added an NotImplementedError for that in r4758


> Also, is the 'threadlocal' mode likely ever to support
> begin_nested()?  I'm not sure I really will end up needing it, but I
> was thinking I might need to mix in some 'implicit session' type code
> at some point.

it can be done but we'd have to rework the internals of the  
Threadlocal module to work like the SessionTransaction.  The Session  
is already doing pretty much the same work as the Threadlocal module  
in this case (i.e. a single point of transaction control with nesting).


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to