SpringComponent now supports adding properties as beans instead of
[utils] / system / spring / src / main / resources / spring / org.wamblee.system.spring.component.hibernate.xml
index c92090539ee40b1f12d5cd880bf6c5f2aa076817..73c02b4433fc0f895f32be8edef9ebe535e92639 100644 (file)
             <ref bean="dataSource"/>
         </property>
         <property name="hibernateProperties">
-            <props>
-                <prop key="hibernate.dialect">${hibernate.dialect}</prop>
-                <prop key="hibernate.cache.provider_class">${hibernate.cache.provider}</prop>
-                <prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
-                <prop key="hibernate.cache.use_query_cache">${hibernate.cache.use_query_cache}</prop>
-            </props>
+            <ref bean="hibernateProperties"/>
         </property>
         <property name="schemaUpdate">
             <value>${hibernate.schemaupdate}</value>