From d90258bfa37ec69cd4795feeb2d2ff94623b0199 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Fri, 18 Jul 2008 01:56:53 +0000 Subject: Moved transaction support classes to txn package. --- src/main/java/com/amazon/carbonado/repo/sleepycat/BDBCursor.java | 2 +- src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java | 5 +++-- src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java | 3 ++- .../com/amazon/carbonado/repo/sleepycat/BDBTransactionManager.java | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/repo/sleepycat') diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBCursor.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBCursor.java index a0dfe38..41a0a91 100644 --- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBCursor.java +++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBCursor.java @@ -25,7 +25,7 @@ import com.amazon.carbonado.Storable; import com.amazon.carbonado.raw.RawCursor; import com.amazon.carbonado.raw.RawUtil; -import com.amazon.carbonado.spi.TransactionScope; +import com.amazon.carbonado.txn.TransactionScope; /** * diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java index 9abdd5d..9f3d9ac 100644 --- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java +++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java @@ -64,8 +64,9 @@ import com.amazon.carbonado.sequence.SequenceValueProducer; import com.amazon.carbonado.spi.AbstractRepository; import com.amazon.carbonado.spi.ExceptionTransformer; import com.amazon.carbonado.spi.LobEngine; -import com.amazon.carbonado.spi.TransactionManager; -import com.amazon.carbonado.spi.TransactionScope; + +import com.amazon.carbonado.txn.TransactionManager; +import com.amazon.carbonado.txn.TransactionScope; /** * Repository implementation backed by a Berkeley DB. Data is encoded in the diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java index 45205c7..f4a010b 100644 --- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java +++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java @@ -79,9 +79,10 @@ import com.amazon.carbonado.sequence.SequenceValueProducer; import com.amazon.carbonado.spi.IndexInfoImpl; import com.amazon.carbonado.spi.LobEngine; -import com.amazon.carbonado.spi.TransactionScope; import com.amazon.carbonado.spi.TriggerManager; +import com.amazon.carbonado.txn.TransactionScope; + /** * * @author Brian S O'Neill diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBTransactionManager.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBTransactionManager.java index 1e613ca..8ac7fdd 100644 --- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBTransactionManager.java +++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBTransactionManager.java @@ -26,7 +26,7 @@ import com.amazon.carbonado.PersistException; import com.amazon.carbonado.Transaction; import com.amazon.carbonado.spi.ExceptionTransformer; -import com.amazon.carbonado.spi.TransactionManager; +import com.amazon.carbonado.txn.TransactionManager; /** * This class is used for tracking transactions and open cursors. -- cgit v1.2.3