johnf wrote:
> I have a situation that I have never had in the past.  I have connections to 
> two databases (self.conn1 and self.conn2).  Will Dabo handle the saves for 
> both connections?  Currently to make it work I do not add the bizobj and 
> handle the inserts and the commit's in my code.  Of course I want Dabo to 
> handle the saves and I tried to use just self.Form.save().  I get no errors 
> or tracebacks.  But my Postgres log does not show a commit for the second 
> database.  Where and what should I look to find out the issue?  

You are calling self.Form.save() and expect dabo to save to a connection 
that there's no bizobj registered for?

Each bizobj instance gets instantiated with a dConnection object. So 
each bizobj knows which connection to commit to. It shouldn't be a problem.

But, if you expect self.Form.save() to work, self.Form needs to know 
about the bizobj(s) that it is supposed to save to.

Or are you saying that one bizobj has two connections? If so, then you 
are out of bounds with Dabo's design and will need to hand-code it.

Paul



_______________________________________________
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/[EMAIL PROTECTED]

Reply via email to