[Erp5-dev] [Erp5-report] ERP5 r24898: 2308 Tests, 1 Errors, 12 Failures

Boris Kocherov bkocherov at gmail.com
Tue Dec 16 14:29:25 CET 2008


Vincent Pelletier пишет:
> One additional note: it should *not* be implemented without spending some time 
> to rething how columns are handled in cached worklists.
> Currently, they are hardcoded in 2 places (a "create table" zsql method, and 
> the product). To implement related key support, we would have to extend 
> existing table column list with the list of all related keys (including 
> generated ones) to make it "work" in a generic instance.
> What should be done is making those column lists computed so that table schema 
> changes dynamicaly to match worklist needs (or at the very least, provide a 
> central script for user to specify the list of column he needs).
   What do you think about using of object relational mapping libraries 
to resolve this problem? May be, http://www.sqlalchemy.org seems good 
for this?
Sqlalchemy allows automatic schema migration 
http://code.google.com/p/sqlalchemy-migrate/.

-- 
Always yours, Boris Kocherov
A specter is haunting Europe -- the specter of Communism.



More information about the Erp5-dev mailing list