[jboss-dev-forums] [Design of JBoss Portal] - Re: why PortalObjectImpl.getChild does not use cache?

prabhat.jha@jboss.com do-not-reply at jboss.com
Mon Aug 11 16:45:04 EDT 2008


Sohil and I looked into it. Changing lazy=true from lazy=extra in hibernate/portal/domain.hbm.xml, a call to getChildren(name) results into hibernate using cache. So, we need to figure out how to enable caching with lazy=extra as reducing lazy loading to true or false may not be a good idea when number of portal objects is big.

This tuning would also need to be done for displayNames as well.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169970#4169970

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169970



More information about the jboss-dev-forums mailing list