如果J2EE应用程序接收ResourceException,则它可以检测该异常是否表示CICS事务异常终止,甚至可以确定特定的CICS异常终止代码是什么。
If the J2EE application receives a ResourceException, it can detect if the exception represents a CICS transaction abend, and even what the particular CICS abend code was.
没有事务,就不会触发orm去生成SQL代码和保存更改,因此只会终止方法—没有异常,没有更新。
Without a transaction there is no trigger for the ORM to generate SQL code and persist the changes, so the method simply ends - no exceptions, no updates.
代码立即异常而终止。
应用推荐