I'm looking to use Hashtables to keep track of some DB2 query results. The problem is that the values coming back are either Strings or Integers. As far as I know, this makes applying a definition to the Hashtable impossible.

My IDE (Rational) seems to think that it is the worst idea ever to use a Hashtable without some sort of definition? Is it? Or is there a way to apply two separate definitions to one table?