John McNally wrote:
> 
> this is a bug.  i will fix it when i can get to it, or you can submit a
> patch, if you can read the source templates.
> 
> basically instead of
> 
> collection = FooPeer.doSelect(criteria) in the getFoos(Criteria) method
> it should be
> 
> tempColl = FooPeer.doSelect
> collection = new Vector();
> loop over tempColl
>   addFoo(tempColl.get(i));
> end
> 
> The template is in turbine's source tree as
> conf/torque/templates/om/Object.vm
> 
> Note that a decision was made that the Peer system would not be fully
> self-consistent as this increases the database activity and OM objects
> are generally instantiated with a specific purpose and thrown away
> quickly, so self-consistency is not worth it.  But that does not hold
> for the case you describe.
> 
> john mcnally
> 

That's why I proposed the creation of BO Managers with configurable
cache support..
__
Leandro Rodrigo Saad Cruz
InterBusiness tecn. e serv.
Sao Paulo - Brasil
begin:vcard 
n:Rodrigo Saad Cruz;Leandro
x-mozilla-html:FALSE
org:Inter Business;IT
adr:;;;Sao Paulo;SP;;Brazil
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Leandro Rodrigo Saad Cruz
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to