diff options
Diffstat (limited to 'libjava/classpath/java/sql/Connection.java')
-rw-r--r-- | libjava/classpath/java/sql/Connection.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/classpath/java/sql/Connection.java b/libjava/classpath/java/sql/Connection.java index d827e75b089..8dc7544c760 100644 --- a/libjava/classpath/java/sql/Connection.java +++ b/libjava/classpath/java/sql/Connection.java @@ -339,7 +339,7 @@ public interface Connection * @return The SQL type to Java class mapping. * @exception SQLException If an error occurs. */ - Map getTypeMap() throws SQLException; + Map<String, Class<?>> getTypeMap() throws SQLException; /** * This method sets the mapping table for SQL types to Java classes. @@ -348,7 +348,7 @@ public interface Connection * @param map The new SQL mapping table. * @exception SQLException If an error occurs. */ - void setTypeMap(Map map) throws SQLException; + void setTypeMap(Map<String, Class<?>> map) throws SQLException; /** * Sets the default holdability of <code>ResultSet</code>S that are created |