问题描述
org.apache.ibatis.exceptions.PersistenceException:
解决方案二:
Errorupdatingdatabase.Cause:java.sql.SQLException:ORA-01460:????????????
解决方案三:
Theerrormayinvolveorg.activiti.engine.impl.persistence.entity.ResourceEntity.insertResource-Inline
解决方案四:
Theerroroccurredwhilesettingparameters
解决方案五:
SQL:insertintoACT_GE_BYTEARRAY(ID_,REV_,NAME_,BYTES_,DEPLOYMENT_ID_,GENERATED_)values(?,1,?,?,?,?)
解决方案六:
Cause:java.sql.SQLException:ORA-01460:????????????org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:150)org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:137)org.activiti.engine.impl.db.DbSqlSession.flushInserts(DbSqlSession.java:538)org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:441)org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:169)org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:116)org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:70)org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:74)org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:134)com.wisco.web.activiti.service.impl.ActivitiServiceImpl.deploy(ActivitiServiceImpl.java:69)sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)sun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)sun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)
解决方案
解决方案七:
<beanid="processEngineConfiguration"class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"><propertyname="jdbcDriver"value="com.mysql.jdbc.Driver"/><propertyname="jdbcUrl"value="jdbc:mysql:///activiti?useUnicode=true&characterEncoding=utf-8"/><propertyname="jdbcUsername"value="root"/><propertyname="jdbcPassword"value="root"/><propertyname="databaseSchemaUpdate"value="true"/></bean>