Spring+ibatis的配置文件整合问题
<?xml version="1.0" encoding="UTF-8"?>
<beans>
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="oracle.jdbc.OracleDriver"/>
<property name="url" value="jdbc:oracle:thin:@192.168.11.208:1521:orabi"/>
<property name="username" value="xxx"/>
<property name="password" value="123"/>
</bean>
?<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">?
??? ?<property name="dataSource" ref="dataSource" />???
</bean>?
<bean?id="sqlMapClient"?class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">??
???<property?name="configLocation"?value="WEB-INF/src/config/ibatis/ReportSqlMap.xml"/>?
????<property?name="dataSource"?ref="dataSource"/>??
?</bean>?
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="mailServerHost" value="localhost" />
<property name="mailServerPort" value="5025" />
<property name="jpaHandleTransaction" value="true" />
<property name="jpaCloseEntityManager" value="true" />
<property name="jobExecutorActivate" value="false" />
</bean>
<bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
<property name="processEngineConfiguration" ref="processEngineConfiguration" />
</bean>
<bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" />
<bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" />
<bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" />
<bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" />
<context:component-scan base-package="com/linkage/bi/activiti.*" />