Package com.ibatis.sqlmap.engine.type
Class JdbcTypeRegistry
java.lang.Object
com.ibatis.sqlmap.engine.type.JdbcTypeRegistry
Singleton.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Value for a JDBC 3.o boolean typestatic final int
Value for a JDBC 3.o datalink typestatic final int
Value for the unknown type. -
Method Summary
-
Field Details
-
UNKNOWN_TYPE
public static final int UNKNOWN_TYPEValue for the unknown type.- See Also:
-
JDBC_30_DATALINK
public static final int JDBC_30_DATALINKValue for a JDBC 3.o datalink type- See Also:
-
JDBC_30_BOOLEAN
public static final int JDBC_30_BOOLEANValue for a JDBC 3.o boolean type- See Also:
-
-
Method Details
-
setType
Sets the type.- Parameters:
name
- the namevalue
- the value
-
getType
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)
-