Skip to content

Commit

Permalink
#786 - Ensure that blCMSStorage prefers the low sequence generator va…
Browse files Browse the repository at this point in the history
…lues and refactor the reference to blPU in CMS to explicitly inherit property values from common
  • Loading branch information
phillipuniverse committed Sep 18, 2014
1 parent 243a6b0 commit 8f155ad
Showing 1 changed file with 2 additions and 11 deletions.
Expand Up @@ -51,17 +51,7 @@
<class>org.broadleafcommerce.cms.structure.domain.CriteriaStructuredContentXref</class>
<class>org.broadleafcommerce.cms.url.domain.URLHandlerImpl</class>
<exclude-unlisted-classes/>
<properties>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.transaction.flush_before_completion" value="false"/>
<property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory"/>
<property name="hibernate.cache.use_second_level_cache" value="true"/>
<property name="hibernate.cache.use_query_cache" value="true"/>
<property name="hibernate.generate_statistics" value="false" />
<property name="hibernate.archive.autodetection" value="false" />
<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
<property name="hibernate.id.new_generator_mappings" value="true"/>
</properties>
<!-- Inherits JPA properties from persistence-common.xml -->
</persistence-unit>

<persistence-unit name="blCMSStorage" transaction-type="RESOURCE_LOCAL">
Expand All @@ -78,6 +68,7 @@
<property name="hibernate.archive.autodetection" value="false" />
<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
<property name="hibernate.id.new_generator_mappings" value="true"/>
<property name="hibernate.id.optimizer.pooled.prefer_lo" value="true"/>
</properties>
</persistence-unit>
</persistence>

0 comments on commit 8f155ad

Please sign in to comment.