DataType function ( int arg0 ) { if ( logger . isDebugEnabled ( ) ) logger . debug ( "srini_string" , new Integer ( arg0 ) ) ; for ( int loc0 = 0 ; loc0 < TYPES . length ; loc0 ++ ) { if ( arg0 == TYPES [ loc0 ] . getSqlType ( ) ) { return TYPES [ loc0 ] ; } } return UNKNOWN ; }
returns the datatype corresponding to the specified sql type . see java.sql.types . concode_field_sep DataType DECIMAL concode_elem_sep DataType BLOB concode_elem_sep DataType CHAR concode_elem_sep DataType BINARY concode_elem_sep DataType BIT concode_elem_sep DataType SMALLINT concode_elem_sep DataType DOUBLE concode_elem_sep DataType REAL concode_elem_sep DataType INTEGER concode_elem_sep DataType UNKNOWN concode_elem_sep DataType BOOLEAN concode_elem_sep DataType BIGINT_AUX_LONG concode_elem_sep DataType FLOAT concode_elem_sep DataType NVARCHAR concode_elem_sep DataType BIGINT concode_elem_sep Logger logger concode_elem_sep DataType DATE concode_elem_sep DataType VARBINARY concode_elem_sep DataType VARCHAR concode_elem_sep DataType NUMERIC concode_elem_sep DataType TIMESTAMP concode_elem_sep DataType CLOB concode_elem_sep DataType LONGVARCHAR concode_elem_sep DataType TINYINT concode_elem_sep DataType LONGNVARCHAR concode_elem_sep DataType[] TYPES concode_elem_sep DataType LONGVARBINARY concode_elem_sep DataType NCHAR concode_elem_sep DataType TIME concode_field_sep Object typeCast concode_elem_sep int compare concode_elem_sep int getSqlType concode_elem_sep boolean isNumber concode_elem_sep boolean isDateTime concode_elem_sep DataType forObject concode_elem_sep void setSqlValue concode_elem_sep String asString concode_elem_sep DataType forSqlTypeName concode_elem_sep Class getTypeClass concode_elem_sep Object getSqlValue