com.ibatis.sqlmap.engine.type

Class JdbcTypeRegistry

public class JdbcTypeRegistry extends Object

Singleton
Field Summary
static intJDBC_30_BOOLEAN
Value for a JDBC 3.o boolean type
static intJDBC_30_DATALINK
Value for a JDBC 3.o datalink type
static intUNKNOWN_TYPE
Value for the unknown type
Method Summary
static intgetType(String name)
Looks up a type by name, and returns it's int value (from java.sql.Types)
static voidsetType(String name, int value)

Field Detail

JDBC_30_BOOLEAN

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

JDBC_30_DATALINK

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

UNKNOWN_TYPE

public static final int UNKNOWN_TYPE
Value for the unknown type

Method Detail

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)

setType

public static void setType(String name, int value)
Copyright © 2011. All Rights Reserved.