On Aug 20, 2007, at 1:25 PM, johnf wrote:
> It appears that beginTransaction is being called on the children -
> is this
> correct?
Not unless you are calling it directly.
> I add a parent, and two children.
> I get
> begin
> insert parent
> begin (warning you already have a transaction)
> insert child
First off, I thought that you were replacing dbPostgreSQL.py's
beginTransaction() method with one that does nothing. So where are
these multiple transactions coming from?
Second, when the save() is called on the parent, it should have the
transaction token from the app, meaning that there should be no way
that another bizobj could start a transaction.
> I'm getting some sort of commit but I don't see it in my postgres
> logs ( could
> be the log is not recording.
>
> app.DatabaseActivityLog = "/home/johnf/dbLog" will turn on the Dabo
> log -
> correct?
Yes.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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]