1 package org.apache.ojb.otm.lock.isolation; 2 3 17 18 import org.apache.ojb.otm.core.Transaction; 19 import org.apache.ojb.otm.lock.LockingException; 20 import org.apache.ojb.otm.lock.ObjectLock; 21 22 public class ReadUncommittedIsolation extends AbstractIsolation 23 { 24 25 28 public void readLock(Transaction tx, ObjectLock lock) 29 { 30 lock.readLock(tx); 32 } 33 34 37 public void writeLock(Transaction tx, ObjectLock lock) 38 throws LockingException 39 { 40 lock.writeLock(tx); 43 } 44 45 } 46 | Popular Tags |