From 3d0f8c86ed6a36b2a65b27058d0f9751da7b4ad9 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Mon, 1 Mar 2010 16:41:55 +0000 Subject: Deprecated ThrowUnchecked class. --- src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java | 3 ++- src/main/java/com/amazon/carbonado/repo/jdbc/JDBCSupportStrategy.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/repo/jdbc') diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java index 16f44cc..25f2fdb 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepository.java @@ -35,6 +35,8 @@ import javax.sql.DataSource; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.cojen.util.ThrowUnchecked; + import com.amazon.carbonado.FetchException; import com.amazon.carbonado.IsolationLevel; import com.amazon.carbonado.MalformedTypeException; @@ -58,7 +60,6 @@ import com.amazon.carbonado.sequence.SequenceValueProducer; import com.amazon.carbonado.spi.AbstractRepository; import com.amazon.carbonado.txn.TransactionManager; import com.amazon.carbonado.txn.TransactionScope; -import com.amazon.carbonado.util.ThrowUnchecked; /** * Repository implementation backed by a JDBC accessible database. diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCSupportStrategy.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCSupportStrategy.java index 89756c5..0b29fa7 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCSupportStrategy.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCSupportStrategy.java @@ -27,6 +27,8 @@ import java.io.Writer; import java.sql.PreparedStatement; import java.sql.SQLException; +import org.cojen.util.ThrowUnchecked; + import com.amazon.carbonado.FetchException; import com.amazon.carbonado.PersistException; import com.amazon.carbonado.RepositoryException; @@ -36,8 +38,6 @@ import com.amazon.carbonado.sequence.SequenceValueGenerator; import com.amazon.carbonado.sequence.SequenceValueProducer; import com.amazon.carbonado.sequence.StoredSequence; -import com.amazon.carbonado.util.ThrowUnchecked; - /** * Allows database product specific features to be abstracted. * -- cgit v1.2.3