Openxava hibernate dependency has been upgraded.
Hibernate now requires the property hibernate.cache.region.factory_class instead of hibernate.cache.provider_class
In the case of ehcache cache provider then the value is org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
This situation prevents OX generated App to start.
Patch 1
Download Minuteproject 0.9.5 to disable minuteproject 4 openxava ehcache wiring.Add this property
< property name="openxava-disable-sdd" value="true" />
Patch 2
So the fix to apply in the generated code is to patch the generated persistence.xml with< property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory" />
Meanwhile it is not enough since now hibernate core do not bundle the cache package.
The package is now in the archive hibernate-ehcache.xxx.jar
Alternative
Disable the openxava ehcache hibernate config by removing the hibernate properties related to cache in persistence.xml
I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
ReplyDeleteHome Spa Services in Mumbai
This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
ReplyDeleteDigital Marketing Company in Chennai
Wonderful site.
ReplyDeleteLots of helpful info here