From d3784b496fb96459de0cd2e169e31bf5a122569b Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Fri, 6 Oct 2006 01:32:41 +0000 Subject: Removed dropped jdk1.6 features. --- .../amazon/carbonado/repo/jdbc/LoggingConnection.java | 10 ---------- .../amazon/carbonado/repo/jdbc/LoggingDataSource.java | 16 ---------------- .../com/amazon/carbonado/repo/jdbc/SimpleDataSource.java | 16 ---------------- 3 files changed, 42 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingConnection.java b/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingConnection.java index c019666..47d734e 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingConnection.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingConnection.java @@ -262,16 +262,6 @@ class LoggingConnection implements Connection { return mCon.getClientInfo(); } - public T createQueryObject(Class ifc) throws SQLException { - return mCon.createQueryObject(ifc); - } - - public T createQueryObject(Class ifc, Connection con) - throws SQLException - { - return mCon.createQueryObject(ifc, con); - } - public Array createArrayOf(String typeName, Object[] elements) throws SQLException { return mCon.createArrayOf(typeName, elements); } diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingDataSource.java b/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingDataSource.java index 214389a..74c120e 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingDataSource.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/LoggingDataSource.java @@ -92,22 +92,6 @@ public class LoggingDataSource implements DataSource { } /* JDK 1.6 features - public T createQueryObject(Class ifc) - throws SQLException - { - throw new UnsupportedOperationException(); - } - - public T createQueryObject(Class ifc, DataSource ds) - throws SQLException - { - throw new UnsupportedOperationException(); - } - - public java.sql.QueryObjectGenerator getQueryObjectGenerator() throws SQLException { - throw new UnsupportedOperationException(); - } - public T unwrap(Class iface) throws SQLException { throw new UnsupportedOperationException(); } diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/SimpleDataSource.java b/src/main/java/com/amazon/carbonado/repo/jdbc/SimpleDataSource.java index 5056a72..431c820 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/SimpleDataSource.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/SimpleDataSource.java @@ -88,22 +88,6 @@ public class SimpleDataSource implements DataSource { } /* JDK 1.6 features - public T createQueryObject(Class ifc) - throws SQLException - { - throw new UnsupportedOperationException(); - } - - public T createQueryObject(Class ifc, DataSource ds) - throws SQLException - { - throw new UnsupportedOperationException(); - } - - public java.sql.QueryObjectGenerator getQueryObjectGenerator() throws SQLException { - throw new UnsupportedOperationException(); - } - public T unwrap(Class iface) throws SQLException { throw new UnsupportedOperationException(); } -- cgit v1.2.3