[Zope-dev] ZPatterns: Non-ZODB storage and Racks
Roch'e Compaan
roche@ybm.co.za
Thu, 9 Nov 2000 09:18:10 +0200
> It's determined by the radio button setting on the Storage tab. If you
> neglected to set it to "loaded by accessing attribute ____" and
> fill in the
> blank, then your objects have been stored in the ZODB, as well as in the
> RDBMS.
>
Thanks.
I set "loaded by accessing attribute" to the attribute "id". Storing items
in the RDBMS works fine. But when I try to retrieve them with
getPersistentItemIDs() nothing is returned? I have a skinsript method
getCustomer:
WITH getCustomerSQL(CUSTOMER_ID=self.id) COMPUTE id=CUSTOMER_ID, name=NAME
and getCustomerSQL is a SQL method.
Roché