Details
Description
org.apache.ibatis.exceptions.PersistenceException:
-
-
- Error updating database. Cause: java.lang.IllegalArgumentException:
Mapped Statements collection does not contain value for insertCycleLink - The error may exist in
org/activiti/db/cycle/ibatis/virtualRepositoryFolder.mapping.xml - Cause: java.lang.IllegalArgumentException: Mapped Statements collection
does not contain value for insertCycleLink
- Error updating database. Cause: java.lang.IllegalArgumentException:
-
might have been caused by my earlier refactorings
Activity
Tom Baeyens
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Tom Baeyens [ tombaeyens ] | Bernd Ruecker [ bernd.ruecker ] |
Daniel Meyer (camunda)
made changes -
| Assignee | Bernd Ruecker [ bernd.ruecker ] | Daniel Meyer [ meyerd ] |
Daniel Meyer (camunda)
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Bernd,
I changed the location of the main ibatis configuration file that points to all the mapping files. It's now here:
/activiti-engine/src/main/resources/org/activiti/db/mapping/mappings.xml
And also the mapping files themselves have been refactored. The contents of the default mappings.xml is now:
<configuration>
<settings>
<setting name="lazyLoadingEnabled" value="false" />
</settings>
<mappers>
<mapper resource="org/activiti/db/mapping/entity/Attachment.xml" />
<mapper resource="org/activiti/db/mapping/entity/Comment.xml" />
<mapper resource="org/activiti/db/mapping/entity/Deployment.xml" />
<mapper resource="org/activiti/db/mapping/entity/Execution.xml" />
<mapper resource="org/activiti/db/mapping/entity/Group.xml" />
<mapper resource="org/activiti/db/mapping/entity/HistoricActivityInstance.xml" />
<mapper resource="org/activiti/db/mapping/entity/HistoricDetail.xml" />
<mapper resource="org/activiti/db/mapping/entity/HistoricProcessInstance.xml" />
<mapper resource="org/activiti/db/mapping/entity/HistoricTaskInstance.xml" />
<mapper resource="org/activiti/db/mapping/entity/IdentityInfo.xml" />
<mapper resource="org/activiti/db/mapping/entity/IdentityLink.xml" />
<mapper resource="org/activiti/db/mapping/entity/Job.xml" />
<mapper resource="org/activiti/db/mapping/entity/Membership.xml" />
<mapper resource="org/activiti/db/mapping/entity/ProcessDefinition.xml" />
<mapper resource="org/activiti/db/mapping/entity/Property.xml" />
<mapper resource="org/activiti/db/mapping/entity/Resource.xml" />
<mapper resource="org/activiti/db/mapping/entity/TableData.xml" />
<mapper resource="org/activiti/db/mapping/entity/Task.xml" />
<mapper resource="org/activiti/db/mapping/entity/User.xml" />
<mapper resource="org/activiti/db/mapping/entity/VariableInstance.xml" />
</mappers>
</configuration>
Can that have anything to do with the problem?