Class JdbcTypeRegistry

java.lang.Object
com.ibatis.sqlmap.engine.type.JdbcTypeRegistry

public class JdbcTypeRegistry extends Object
Singleton.
  • Field Details

    • UNKNOWN_TYPE

      public static final int UNKNOWN_TYPE
      Value for the unknown type.
      See Also:
    • JDBC_30_BOOLEAN

      public static final int JDBC_30_BOOLEAN
      Value for a JDBC 3.o boolean type
      See Also:
  • Method Details

    • setType

      public static void setType(String name, int value)
      Sets the type.
      Parameters:
      name - the name
      value - the value
    • getType

      public static int getType(String name)
      Looks up a type by name, and returns it's int value (from java.sql.Types)
      Parameters:
      name - - the type name
      Returns:
      - the int value (from java.sql.Types)