On Aug 9, 2007, at 4:12 AM, Alexandre CONRAD wrote:

>
> Alexandre CONRAD wrote:
>
>> Don't forget to answer my question: "What are the benefits of
>> instantiating a Session object ?". Actually, I just feel better  
>> working
>> *with* a instantiated object.
>
> Hey, I just set my code to instantiate the session, and I get the
> following error when I delete a client (which has a bunch of cascading
> "all, delete-orphan" rules).
>
>    session = Session()
>
> NB: I've mapped the session.delete function to my "model" object for
> convenience: model.delete = session.delete

that would be a likely suspect.  code works without that ?  send a  
test case along if not.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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