An exception occurred: org.springframework.dao.InvalidDataAccessApiUsageException
2010-08-29 02:30
477 查看
是由于 spring 配置
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="add*" propagation="REQUIRED" />
<tx:method name="del*" propagation="REQUIRED" />
<tx:method name="update*" propagation="REQUIRED" />
<tx:method name="deploy*" propagation="REQUIRED" />
<tx:method name="submit*" propagation="REQUIRED" />
<tx:method name="*" read-only="true" />
</tx:attributes>
</tx:advice>
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="add*" propagation="REQUIRED" />
<tx:method name="del*" propagation="REQUIRED" />
<tx:method name="update*" propagation="REQUIRED" />
<tx:method name="deploy*" propagation="REQUIRED" />
<tx:method name="submit*" propagation="REQUIRED" />
<tx:method name="*" read-only="true" />
</tx:attributes>
</tx:advice>
相关文章推荐
- 出现org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient
- org.springframework.dao.InvalidDataAccessApiUsageException:object references an unsaved transient in
- org.springframework.dao.InvalidDataAccessApiUsageException: ERR value is not an integer or out of ra
- org.springframework.dao.InvalidDataAccessApiUsageException: OracleLobCreator needs to work on [oracl
- hibernate异常:org.springframework.dao.InvalidDataAccessApiUsageException解决办法
- hibernate框架学习错误集锦-org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL)
- org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read
- org.springframework.dao.InvalidDataAccessApiUsageException
- org.springframework.dao.InvalidDataAccessApiUsageException: Write operations
- org.springframework.dao.InvalidDataAccessApiUsageException:The given object has a null identifi的解决方案
- org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed
- org.springframework.dao.InvalidDataAccessApiUsageException
- org.springframework.dao.InvalidDataAccessApiUsageException: (错误记录,级联删除错误)
- org.springframework.dao.InvalidDataAccessApiUsageException:The given object has a null identifi的解决方案
- OpenSessionInViewFilter与org.springframework.dao.InvalidDataAccessApiUsageException
- org.springframework.dao.InvalidDataAccessApiUsageException
- org.springframework.dao.InvalidDataAccessApiUsageException: Write
- Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageExce
- org.springframework.dao.InvalidDataAccessApiUsageException: The given object has a null identifier:
- org.springframework.dao.InvalidDataAccessApiUsageException:The given object has a null identifi的解决方案