当前位置: 代码迷 >> JBoss >> jbpm4.3生成数据库表解决方法
  详细解决方案

jbpm4.3生成数据库表解决方法

热度:6900   发布时间:2013-02-26 00:00:00.0
jbpm4.3生成数据库表
刚刚学习jbpm4.3根据下载的用户手册试了很多次就是不能生成sybase数据库表 跪求大家帮助 能不能帮我写一下大概的步骤 和需要注意的要点 高分感谢!!!!!

------解决方案--------------------------------------------------------
4.3的build.xml没有给出sybase的脚步,如果要运行的话,需要修改脚本。
修改
<!-- ### DEMO SETUP JBOSS ##################################################### -->
<target name="demo.setup.jboss" 
depends="install.jboss, install.jbpm.into.jboss" 
description="installs jboss, installs jbpm into jboss, starts jboss, creates the jBPM DB schema, deploys examples, loads example identities, installs and starts eclipse">
<antcall target="internal.enable.jboss.debug.jboss500" />
<antcall target="internal.enable.jboss.debug.jboss510" />
<antcall target="install.hsqldb.server" />
<antcall target="start.hsqldb.server" />
<antcall target="create.jbpm.schema" />
<antcall target="start.jboss" />
<antcall target="install.examples.into.jboss" />
<antcall target="load.example.identities" />
<antcall target="install.eclipse" />
<antcall target="start.eclipse" />
</target>
去掉<antcall target="install.hsqldb.server" />
<antcall target="start.hsqldb.server" />
找到
<!-- USER CUSTOMIZABLE PROPERTIES -->
<property name="database" value="hsqldb" /> <!-- {hsqldb | mysql | oracle | postgresql} -->
<echo message="database......... ${database}" />
<property name="tx" value="standalone" /> <!-- {standalone | jta | spring} -->
<echo message="tx............... ${tx}" />
<property name="mail.smtp.host" value="localhost" />
<echo message="mail.smtp.host... ${mail.smtp.host}" />
修改<property name="database" value="hsqldb" /> 为<property name="database" value="sybase" /> 
这样以后应该可以加入sybase应用了。
记得修改install目录下jdbc目录下的sybase.properties中数据库连接配置。
  相关解决方案