com.ibatis.sqlmap.engine.type
Class JdbcTypeRegistry

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

public class JdbcTypeRegistry
extends java.lang.Object

Singleton


Field Summary
static int JDBC_30_BOOLEAN
          Value for a JDBC 3.o boolean type
static int JDBC_30_DATALINK
          Value for a JDBC 3.o datalink type
static int UNKNOWN_TYPE
          Value for the unknown type
 
Method Summary
static int getType(java.lang.String name)
          Looks up a type by name, and returns it's int value (from java.sql.Types)
static void setType(java.lang.String name, int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN_TYPE

public static final int UNKNOWN_TYPE
Value for the unknown type

See Also:
Constant Field Values

JDBC_30_DATALINK

public static final int JDBC_30_DATALINK
Value for a JDBC 3.o datalink type

See Also:
Constant Field Values

JDBC_30_BOOLEAN

public static final int JDBC_30_BOOLEAN
Value for a JDBC 3.o boolean type

See Also:
Constant Field Values
Method Detail

setType

public static void setType(java.lang.String name,
                           int value)

getType

public static int getType(java.lang.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)