[Mifos-developer] Hibernate Configurations for second level and query caching in Mifos

2 views
Skip to first unread message

Udai Gupta

unread,
Dec 29, 2009, 2:46:09 PM12/29/09
to Developer
Hi,

I have added two properties in in hibernate properties files in
r16462, (Added parameters for more flexibility around hibernate
second-level cache configuration, no behaviour change as changes are
with defaults)


second level query cache is enabled by default,
http://fisheye.jboss.org/browse/Hibernate/core/tags/v326/src/org/hibernate/cfg/Environment.java?r=14324#l385
But how its being used in Mifos is something I am not sure about yet.
Will be something interesting for later.

Also, If you look at hibernate properties files you will find that
Mifos is using HashtableCacheProvider, and the Hibernate documentation
says that its not intended for production use.
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/performance.html#performance-cache

Udai

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

Reply all
Reply to author
Forward
0 new messages