---
title: "transaction ,isolation level 2"
author: "stephen80"
date: "2009-03-27T10:03:39Z"
tags: ["Hibernate", "编程"]
slug: "transaction-isolation-level-2"
draft: false
lastmod: "2009-03-27T10:47:57Z"
id: 355973
url: "https://stephen80.iteye.com/blog/355973"
---

最近，用 berkeley db je.
没有用 transaction 模式。

重新理解了 transaction .

编程的关键是在 isolation level2 上如何避免 phantom!

hibernate 可以用 version 机制。

当然，bdb ，可以用 putNoOveride ，重复查询避免。

也加强了，我对于 concurrent program, 的uncertaincy 的理解。


