activiti 添加bpmn文件时报错:请教下各位
(关键是:有的bpmn文件可以正常添加,有的文件就会报如下错误:)
我的代码:
InputStream inputStreamBpmn = this.getClass().getResourceAsStream("exclusiveGateway.bpmn");
Deployment deployment = processEngine.getRepositoryService()
.createDeployment()
.addInputStream("exclusiveGateway.bpmn", inputStreamBpmn)
.deploy();
下面是报错信息:
org.apache.ibatis.exceptions.PersistenceException:
Error updating database. Cause: java.sql.SQLException: ORA-01460: 转换请求无法实施或不合理
The error may involve org.activiti.engine.impl.persistence.entity.ResourceEntity.insertResource-Inline
The error occurred while setting parameters
SQL: insert into ACT_GE_BYTEARRAY(ID_, REV_, NAME_, BYTES_, DEPLOYMENT_ID_, GENERATED_) values (?, 1, ?, ?, ?, ?)
Cause: java.sql.SQLException: ORA-01460: 转换请求无法实施或不合理
http://blog.csdn.net/dengtaowei/article/details/49430793