Brought EHCache configuration loading in line with Hibernate

JBPM test was not configuring an L2 cache, which is now mandatory


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-03-08 18:43:35 +00:00
parent a3ae1fc827
commit da793026fb
2 changed files with 39 additions and 19 deletions

View File

@@ -8,6 +8,8 @@
<session-factory>
<!-- jdbc connection properties -->
<property name="hibernate.cache.provider_class">org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean</property>
<property name="hibernate.cache.use_second_level_cache">true</property>
<property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
<property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="hibernate.connection.url">jdbc:hsqldb:mem:.;sql.enforce_strict_size=true</property>