I am trying to configure the hibernate.cfg.xml file to use memcache. I see the properties "cache.provider_class" and "cache.use_second_level_cache" however I do not see how I can add the server host/port.
views:
140answers:
1
+1
A:
You'd set those properties in the <memcache>
settings.
See this question for an example.
Ian Nelson
2009-08-17 20:46:32
so inside the hibernate.cfg.xml but outside of the <hibernate-configuration> element?
CountCet
2009-08-17 20:55:21
That doesn't work
CountCet
2009-08-17 21:07:07
No, in the web.config / app.config
Ian Nelson
2009-08-17 21:15:54
Just found that out now and it works.
CountCet
2009-08-17 21:34:47