Class SQLTypeMap


  • public class SQLTypeMap
    extends Object
    Utility class for converting database types to Java class types.
    • Constructor Detail

      • SQLTypeMap

        public SQLTypeMap()
    • Method Detail

      • toClass

        public static Class<?> toClass​(int type)
        Translates a data type from an integer (java.sql.Types value) to a string that represents the corresponding class.
        Parameters:
        type - The java.sql.Types value to convert to its corresponding class.
        Returns:
        The class that corresponds to the given java.sql.Types value, or Object.class if the type has no known mapping.