You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2013/08/29 02:37:45 UTC
svn commit: r1518433 -
/jena/trunk/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/results/JenaResultSet.java
Author: rvesse
Date: Thu Aug 29 00:37:45 2013
New Revision: 1518433
URL: http://svn.apache.org/r1518433
Log:
Fill in some more JDBC 4.1 implementations
Modified:
jena/trunk/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/results/JenaResultSet.java
Modified: jena/trunk/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/results/JenaResultSet.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/results/JenaResultSet.java?rev=1518433&r1=1518432&r2=1518433&view=diff
==============================================================================
--- jena/trunk/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/results/JenaResultSet.java (original)
+++ jena/trunk/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/results/JenaResultSet.java Thu Aug 29 00:37:45 2013
@@ -633,6 +633,16 @@ public abstract class JenaResultSet impl
public Object getObject(String columnLabel, Map<String, Class<?>> map) throws SQLException {
throw new SQLFeatureNotSupportedException("Only the single argument form of getObject() is supported");
}
+
+ @SuppressWarnings("javadoc")
+ public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
+ throw new SQLFeatureNotSupportedException("Only the single argument form of getObject() is supported");
+ }
+
+ @SuppressWarnings("javadoc")
+ public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
+ throw new SQLFeatureNotSupportedException("Only the single argument form of getObject() is supported");
+ }
@Override
public Ref getRef(int columnIndex) throws SQLException {
@@ -701,15 +711,6 @@ public abstract class JenaResultSet impl
throw new SQLFeatureNotSupportedException();
}
- // Java6/7 compatibility
- public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
- throw new SQLFeatureNotSupportedException();
- }
-
- public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
- throw new SQLFeatureNotSupportedException();
- }
-
@Override
public final SQLWarning getWarnings() throws SQLException {
return this.warnings;