michael lim <jim_theory <at> yahoo.com> writes:
> > in my pagevalidate method, i call db to retrieve information and print out on > page using @insert > > how do i cache it so that it will not hit the db so frequent ? any example? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe <at> tapestry.apache.org > For additional commands, e-mail: users-help <at> tapestry.apache.org > > Hi We have the same problem - which slows down our app to a level that is not acceptable. There probably is some pattern that I have not picked up. Our hibernate beans are loaded each time the ognl expressions read our objects. I guesss there is some way to evict the hibernate loaded objects in the prepare for render method, before the rendering happens in order to avoid hitting the db for every property the ognl tries to read from the object, or is there some better way? Henrik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]