Class ColumnMap

  • All Implemented Interfaces:
    ConversionMap<String,​Object>, Serializable, Cloneable, Map<String,​Object>
    Direct Known Subclasses:
    XMLMap

    public class ColumnMap
    extends HashMap<String,​Object>
    implements ConversionMap<String,​Object>
    Helper class with a bunch of built in casts. It contains key value pairs, where the keys are SQL column names and the values are values. This practically contains the information for a single row in a database.

    Note that the keys are all column names AND that the keys are automatically converted to/from lower case. This is because this object may have its values given from a result set metadata object and most vendors allow only case-insensitive column names, so they may or may not elect to convert them to lower or upper case as they see fit.

    Created by Jeff Gaynor
    on 8/31/11 at 4:05 PM

    See Also:
    Serialized Form