http://www.springframework.org/dtd/spring-beans-2.0.dtd">
1.
2.
3.
4.
</list>
</property>
</bean>
</bean>
${hibernate.dialect}
</prop>
true
</prop>
org.hibernate.cache.EhCacheProvider
</prop>
org.hibernate.search.store.FSDirectoryProvider</prop>
cn.nit.oa.core.lucene.analysis.OAAnalyzer</prop>
</props>
</property>
</list>
</property>
</bean>
</property>
</bean>
</property>
</props>
</property>
</bean>
</property>
</bean>
</property>
</bean>
</property>
</bean>
</beans>
---------------------
(2) jdbc.properties
## 这个事连接mysql数据库的具体参数配置,
## 楼主要根据自己的数据来配置,不可直接使用
---------------------
jdbc.driverClass=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/springdemo?useUnicode=true&characterEncoding=utf-8
jdbc.user=root
jdbc.password=root
jdbc.initialPoolSize=1
jdbc.minPoolSize=1
jdbc.maxPoolSize=10