On Thursday 14 June 2007 12:03, Uwe Grauer wrote:
> What happens when there is more than 1 record inserted?
> Did you test this case or are you sure about that this would work?
>
> Uwe
I guess it is possible to have more than one statement in a SQL statement as
in:
bizobj.execute("insert .....; insert ......") but I believe that to be outside
Dabo's saveAll(). I do sort wonder how it would work with threads. Since
there is no guarantee that a thread will use only one connection/session to
the database engine for saving. But I think threads are beyond me and should
be address in 2.0 with SQLAlchemy.
As far as testing - I'm only one guy. I have opened four sessions of the same
form and used two computers and that works using the Dabo saveAll(). Each of
the forms contained children (did not test for grandchildren).
If you have a case where it is NOT working - of course report it and I'll see
what I can do to fix it.
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]