http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"
default-lazy-init="false">
- <import
- resource="classpath:/org/argeo/slc/hibernate/sessionFactories.xml" />
-
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
</property>
</bean>
- <bean id="sessionFactory" parent="slcTemplates.sessionFactory.hibernateBasic">
- <property name="dataSource" ref="dataSource" />
- <property name="hibernateProperties">
- <value><![CDATA[
- hibernate.dialect=org.hibernate.dialect.HSQLDialect
- hibernate.hbm2ddl.auto=create
- hibernate.current_session_context_class=thread
- ]]></value>
- </property>
- </bean>
-
<bean id="dataSource" class="org.hsqldb.jdbc.jdbcDataSource">
<property name="database" value="${argeo.server.jdbc.url}" />
<property name="user" value="${argeo.server.jdbc.username}" />