[Zope-DB] Dynamically generate sql-query in ZSQL Method
Bo M. Maryniuck
b.maryniuk at forbis.lt
Fri Apr 9 03:03:39 EDT 2004
On Friday 09 April 2004 01:32, Matthew T. Kromer wrote:
> If your function is not protected with the same permissions
> as your results, your function may run, but then the results may not
> be visible by the user.
Yes. Sometimes it may break a lot if, e.g., function is an Oracle
stored procedure without no parameters.
I think this is quite silly idea in Zope (oops...) do _everything_ callable
from ZODB... Much better could be explicitly tell Zope what object should be
callable or so.
> commit transactions to an RDBMS, you're caught by surprise when Zope
> does it for you.
And even more insulted where you will not like to commit data and still
want to run another stored procedure or so, but Zope already commits. ;)
> For the most part, the Zope automatic integration with RDBMS
> transactions is a GOOD thing.
Regards, Bogdan T. M. Maryniuck
System programmer, Forbis UAB
More information about the Zope-DB