1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:
aop=
"http://www.springframework.org/schema/aop"
4 xmlns:
tx=
"http://www.springframework.org/schema/tx"
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"
9 default-lazy-init=
"false">
12 resource=
"classpath:/org/argeo/slc/hibernate/sessionFactories.xml" />
15 class=
"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
16 <property name=
"systemPropertiesModeName" value=
"SYSTEM_PROPERTIES_MODE_OVERRIDE" />
17 <property name=
"ignoreUnresolvablePlaceholders" value=
"true" />
18 <property name=
"locations">
19 <value>osgibundle:hsqldb.properties
24 <bean id=
"sessionFactory" parent=
"slcTemplates.sessionFactory.hibernateBasic">
25 <property name=
"dataSource" ref=
"dataSource" />
26 <property name=
"hibernateProperties">
28 hibernate.dialect=org.hibernate.dialect.HSQLDialect
29 hibernate.hbm2ddl.auto=create
30 hibernate.current_session_context_class=thread
35 <bean id=
"dataSource" class=
"org.hsqldb.jdbc.jdbcDataSource">
36 <property name=
"database" value=
"${slc.server.hsqldb.url}" />
37 <property name=
"user" value=
"sa" />
38 <property name=
"password" value=
"" />