Schultcd,
I ran few test cases for the scenarios before I submitted the patch. Most of Object are stored in String Object in HashMap. (except java.util.Date, java.sql.Time, and java.sql.TimeStamp are stored in as is) After the Object is returned by the getLastParameterValue method (this method is only called from setParameter) from the calling function, setParameter, the setParameter method checks the class name of the returned parameter value and check the type of Object again (if the Object is java.util.Date, java.sql.Time, and java.sql.TimeStamp). It is redundant to me.
Also, the returned value is just used to pass to the JComboBox.setSelectedItem method (except java.util.Date, java.sql.Time and java.sql.Timestamp. If an Object is one of "Date" object, there is if-else statement to check and avoid ClassCastException) Therefore, I do not see ClassCastException will be occurred by my change.