summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo/jdbc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/jdbc')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/LoggingConnection.java10
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/LoggingDataSource.java16
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/SimpleDataSource.java16
3 files changed, 0 insertions, 42 deletions
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 extends BaseQuery> T createQueryObject(Class<T> ifc) throws SQLException {
- return mCon.createQueryObject(ifc);
- }
-
- public <T extends BaseQuery> T createQueryObject(Class<T> 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 extends java.sql.BaseQuery> T createQueryObject(Class<T> ifc)
- throws SQLException
- {
- throw new UnsupportedOperationException();
- }
-
- public <T extends java.sql.BaseQuery> T createQueryObject(Class<T> ifc, DataSource ds)
- throws SQLException
- {
- throw new UnsupportedOperationException();
- }
-
- public java.sql.QueryObjectGenerator getQueryObjectGenerator() throws SQLException {
- throw new UnsupportedOperationException();
- }
-
public <T> T unwrap(Class<T> 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 extends java.sql.BaseQuery> T createQueryObject(Class<T> ifc)
- throws SQLException
- {
- throw new UnsupportedOperationException();
- }
-
- public <T extends java.sql.BaseQuery> T createQueryObject(Class<T> ifc, DataSource ds)
- throws SQLException
- {
- throw new UnsupportedOperationException();
- }
-
- public java.sql.QueryObjectGenerator getQueryObjectGenerator() throws SQLException {
- throw new UnsupportedOperationException();
- }
-
public <T> T unwrap(Class<T> iface) throws SQLException {
throw new UnsupportedOperationException();
}