资 源 简 介
每个使用关系型数据库的程序都可能遇到数据死锁或不可用的情况,而这些情况需要在代码中编程来解决 本文主要介绍与数据库事务死锁等情况相关的重试逻辑概念,此外,还会探讨如何避免死锁等问题,文章以DB2(版本9)与Java为例进行讲解。-Each use of relational database programs that may be encountered or unavailable data deadlock situation, which if necessary programming code to solve with the introduction of this paper such as database transaction deadlock retry logic related to the concept, in addition to will explore issues such as how to avoid deadlock, the article to DB2 (version 9) and Java as an example to explain.