summaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-10-06 01:32:41 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-10-06 01:32:41 +0000
commitd3784b496fb96459de0cd2e169e31bf5a122569b (patch)
tree3d119ce8e94ca30ddf2c8556f53801dc92754270 /src/main/java/com
parent79cebfadf8703afe9bf28786bc4df1af348c876e (diff)
Removed dropped jdk1.6 features.
Diffstat (limited to 'src/main/java/com')
-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();
}