码迷,mamicode.com
首页 > 其他好文 > 详细

j2ee之工作流引擎的activiti.cfg.xml配置文件(简单)

时间:2017-10-07 16:22:42      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:work   odi   数据库   mys   nec   username   xsd   工作流   framework   

<?xml version="1.0"?>

-<beans xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context" xmlns="http://www.springframework.org/schema/beans">


-<bean class=" org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration" id="processEngineConfiguration">

<!-- 配置数据库连接 -->


<property value="com.mysql.jdbc.Driver" name="jdbcDriver"/>

<property value="jdbc:mysql://localhost:3306/activitiDB1?createDatabaseIfNotExist=true& useUnicode=true&characterEncoding=utf8" name="jdbcUrl"/>

<property value="root" name="jdbcUsername"/>

<property value="1234" name="jdbcPassword"/>

<!-- 建表策略 没有表,自动创建-->


<property value="true" name="databaseSchemaUpdate"/>

</bean>

</beans>

j2ee之工作流引擎的activiti.cfg.xml配置文件(简单)

标签:work   odi   数据库   mys   nec   username   xsd   工作流   framework   

原文地址:http://www.cnblogs.com/ShaoXin/p/7634691.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!