harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ton...@apache.org
Subject svn commit: r549680 - in /harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java: java/sql/ResultSetMetaData.java javax/sql/rowset/RowSetMetaDataImpl.java
Date Fri, 22 Jun 2007 03:02:40 GMT
Author: tonywu
Date: Thu Jun 21 20:02:39 2007
New Revision: 549680

URL: http://svn.apache.org/viewvc?view=rev&rev=549680
Log:
java.sql.ResultSetMetaData should implement java.sql.Wrapper in java6

Modified:
    harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSetMetaData.java
    harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/rowset/RowSetMetaDataImpl.java

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSetMetaData.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSetMetaData.java?view=diff&rev=549680&r1=549679&r2=549680
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSetMetaData.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSetMetaData.java
Thu Jun 21 20:02:39 2007
@@ -20,7 +20,7 @@
 /**
  * Provides information about the columns in a ResultSet.
  */
-public interface ResultSetMetaData {
+public interface ResultSetMetaData extends Wrapper {
 
     /**
      * Indicates that a column cannot contain NULL values

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/rowset/RowSetMetaDataImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/rowset/RowSetMetaDataImpl.java?view=diff&rev=549680&r1=549679&r2=549680
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/rowset/RowSetMetaDataImpl.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/rowset/RowSetMetaDataImpl.java
Thu Jun 21 20:02:39 2007
@@ -533,4 +533,22 @@
         
         public String catalogName = EMPTY_STRING;
     }
+
+    /**
+     * {@inheritDoc}
+     * 
+     * @see java.sql.Wrapper#isWrapperFor(Class)
+     */
+    public boolean isWrapperFor(Class<?> iface) throws SQLException {
+        return false;
+    }
+
+    /**
+     * {@inheritDoc}
+     * 
+     * @see java.sql.Wrapper#unwrap(Class)
+     */
+    public <T> T unwrap(Class<T> iface) throws SQLException {
+        return null;
+    }
 }



Mime
View raw message