spring的applicationContext.xml
改之前无法删除数据
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="save*" propagation="REQUIRED" />
<tx:method name="del*" propagation="REQUIRED" />
<tx:method name="update*" propagation="REQUIRED" />
<tx:method name="*" read-only="true" />
</tx:attributes>
把del*改成delete*
改之后
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="save*" propagation="REQUIRED" />
<tx:method name="delete*" propagation="REQUIRED" />
<tx:method name="update*" propagation="REQUIRED" />
<tx:method name="*" read-only="true" />
</tx:attributes>
分享到:
相关推荐
This document provides different tools and techniques useful for debugging audio issues encountered in Linux-based systems. The document is mostly focused on the Android operating system, but some of ...
description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause ...
Keil v5 Error: Encountered an improper argument 个人实测解决办法 实测运行正常咯,再也不出现仿真关不了debug情况了
Download the attached file and extract it to the folder C:\Keil_v5\UV4. If you have installed PK51 to a different folder, you need to adapt the path accordingly. The file UV4.exe is replaced with ...
Error Encountered an improper argument 真实测试过
Keil-MDK Error Encountered an improper argument 问题解决办法实测有效,此问题属于keil的软件bug,在mdk5.2x版本中普遍出现,最新的mdk5.26版本也没有解决此软件bug,所以分享此解决办法让更多人免于受此问题困扰...
Keil v5 Error Encountered an improper argument ,解决keil5关闭debug时弹出的 Encountered an improper argument 问题,亲测有用
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server ...
keil升级5.25pre(临近几个...会提示Error: Encountered an improper argument 主要解决办法就是替换UV4.exe,可以将低版本中的UV4.exe直接替换 具体操作看:https://blog.csdn.net/u011624093/article/details/80880708
WD 硬盘工具,强大的工具管理.
解决在Keil仿真时,退出仿真出现Encountered an improper argument错误。解决办法,将附件添加到kei的安装目录中即可C:\Keil_v5\UV4。将原来的替换即可
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server ...
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server ...
win7_64eclispe插件 解决An internal error occurred during: "Map/Reduce location status updater". org/codehaus/jackson/map/JsonMappingException 重新编译包
building workspace has encountered a problem
PHP has encountered an Access Violation at 7C94BD02解决方法
This program has encountered an error (Use the arrows keys to scroll) Error see log for more info PartedUtil failed with message error can’t have a partition outside the disk Unable to read ...
Socket编程中的Error捕获的中文解释,包括错误代码和中文释义
Setting an intent lock at the table level prevents another transaction from subsequently acquiring an exclusive (X) lock on the table containing that page. Intent locks improve performance because ...