Yellow ppl, I think everybody already had this problem... Suppose you have a DB connection in /root/subfolder/DB_conn then you build lots of zsql objects from that point down... then you move the DB connection object up to the root. result: all ZSQL's have to be changed to assume the DB_conn new position. shouldn't the zsql's assume right away that the upper DB_conn in the root folder is the right one?? regards ===== Hugo Ramos - hugo@zopers.org ZopersORG - http://www.zopers.org ===== Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!!
Yes it should if the one in the root is the "closest" or first connection it finds. Im using ZODBC and it works for me. -- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Hugo Ramos" <hugo@zopers.org> To: "ZOPE" <zope@zope.org> Sent: Wednesday, November 08, 2000 4:00 AM Subject: [Zope] ZSQL is killing me...
Yellow ppl,
I think everybody already had this problem...
Suppose you have a DB connection in /root/subfolder/DB_conn then you build lots of zsql objects from that point down... then you move the DB connection object up to the root.
result: all ZSQL's have to be changed to assume the DB_conn new position.
shouldn't the zsql's assume right away that the upper DB_conn in the root folder is the right one??
regards
===== Hugo Ramos - hugo@zopers.org ZopersORG - http://www.zopers.org ===== Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!!
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andy McKay -
Hugo Ramos