Struts+Spring+ibatis集成jbpm
<beanid="s3Dao"class="com.tcxa.s3.bmf.base.IDaoImpl"><propertyname="sqlMapClient"ref=...
<bean id="s3Dao" class="com.tcxa.s3.bmf.base.IDaoImpl">
<property name="sqlMapClient" ref="sqlMapClientS3" />
</bean>
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean" lazy-init="false">
<property name="dataSource" ref="c3p0DataSource"/>
<property name="useTransactionAwareDataSource" value="true"/>
<property name="mappingResources">
<list>
<value>jbpm.execution.hbm.xml</value>
<value>jbpm.history.hbm.xml</value>
<value>jbpm.identity.hbm.xml</value>
<value>jbpm.repository.hbm.xml</value>
<value>jbpm.task.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">
org.hibernate.dialect.MySQLDialect
</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.dialect">${dataSource.dialect}</prop>
<prop key="hibernate.hbm2ddl.auto">${dataSource.hbm2ddl.auto}</prop>
<prop key="hibernate.dialect">${dataSource.hibernate.dialect}</prop>
</props>
</property>
</bean>
<bean id="jbpmSpringHelper" class="org.jbpm.pvm.internal.processengine.SpringHelper" lazy-init="default" autowire="default">
<property name="jbpmCfg">
<value>spring-jbpm4.cfg.xml</value>
</property>
</bean>
<bean id="processEngine" factory-bean="jbpmSpringHelper" factory-method="createProcessEngine"></bean>
<bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService"></bean>
<bean id="executionService" factory-bean="processEngine" factory-method="getExecutionService"></bean>
<bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService"></bean>
<bean id="taskService" factory-bean="processEngine" factory-method="getTaskService"></bean>
<bean id="identityService" factory-bean="processEngine" factory-method="getIdentityService"></bean>
这是我得配置文件报错Could not resolve placeholder 'dataSource.hbm2ddl.auto'
没有分了不好意思 展开
<property name="sqlMapClient" ref="sqlMapClientS3" />
</bean>
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean" lazy-init="false">
<property name="dataSource" ref="c3p0DataSource"/>
<property name="useTransactionAwareDataSource" value="true"/>
<property name="mappingResources">
<list>
<value>jbpm.execution.hbm.xml</value>
<value>jbpm.history.hbm.xml</value>
<value>jbpm.identity.hbm.xml</value>
<value>jbpm.repository.hbm.xml</value>
<value>jbpm.task.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">
org.hibernate.dialect.MySQLDialect
</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.dialect">${dataSource.dialect}</prop>
<prop key="hibernate.hbm2ddl.auto">${dataSource.hbm2ddl.auto}</prop>
<prop key="hibernate.dialect">${dataSource.hibernate.dialect}</prop>
</props>
</property>
</bean>
<bean id="jbpmSpringHelper" class="org.jbpm.pvm.internal.processengine.SpringHelper" lazy-init="default" autowire="default">
<property name="jbpmCfg">
<value>spring-jbpm4.cfg.xml</value>
</property>
</bean>
<bean id="processEngine" factory-bean="jbpmSpringHelper" factory-method="createProcessEngine"></bean>
<bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService"></bean>
<bean id="executionService" factory-bean="processEngine" factory-method="getExecutionService"></bean>
<bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService"></bean>
<bean id="taskService" factory-bean="processEngine" factory-method="getTaskService"></bean>
<bean id="identityService" factory-bean="processEngine" factory-method="getIdentityService"></bean>
这是我得配置文件报错Could not resolve placeholder 'dataSource.hbm2ddl.auto'
没有分了不好意思 展开
佳达源
2024-10-28 广告
2024-10-28 广告
AR0144CSSM20SUKA0-CPBR这款产品,作为我司产品线中的重要一员,集成了高精度的传感器技术与先进的图像处理算法,广泛应用于安防监控、工业自动化及机器视觉等领域。其卓越的性能与稳定性,确保了在各种复杂环境下的精准数据采集与高效...
点击进入详情页
本回答由佳达源提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询