aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/sql/ResultSetMetaData.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/sql/ResultSetMetaData.java')
-rw-r--r--libjava/java/sql/ResultSetMetaData.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/libjava/java/sql/ResultSetMetaData.java b/libjava/java/sql/ResultSetMetaData.java
index ca6a69b..edb89da 100644
--- a/libjava/java/sql/ResultSetMetaData.java
+++ b/libjava/java/sql/ResultSetMetaData.java
@@ -1,5 +1,5 @@
/* ResultSetMetaData.java -- Returns information about the ResultSet
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -358,5 +358,21 @@ isWritable(int index) throws SQLException;
public abstract boolean
isDefinitelyWritable(int index) throws SQLException;
+/*************************************************************************/
+
+/**
+ * This method returns the name of the Java class which will be used to
+ * create objects representing the data in this column.
+ *
+ * @param index The index of the column to check.
+ *
+ * @return The name of the Java class that will be used for values in
+ * this column.
+ *
+ * @exception SQLException If an error occurs.
+ */
+public abstract String
+getColumnClassName(int index) throws SQLException;
+
} // interface ResultSetMetaData