SqlDataType

Inheritance: java.lang.Object

public final class SqlDataType

Specifies SQL data type of the parameter. Only valid for ODBC sources.

Fields

FieldDescription
SQL_BIG_INTsql big int
SQL_BINARYsql binary
SQL_BITsql bit
SQL_CHARsql char
SQL_DECIMALsql decimal
SQL_DOUBLEsql double
SQL_FLOATsql float
SQL_GUIDsql guid
SQL_INTEGERsql integer
SQL_INTERVAL_DAYsql interval day
SQL_INTERVAL_DAY_TO_HOURsql interval day to hour
SQL_INTERVAL_DAY_TO_MINUTEsql interval day to minute
SQL_INTERVAL_DAY_TO_SECONDsql interval day to second
SQL_INTERVAL_HOURsql interval hour
SQL_INTERVAL_HOUR_TO_MINUTEsql interval hour to minute
SQL_INTERVAL_HOUR_TO_SECONDsql interval hour to second
SQL_INTERVAL_MINUTEsql interval minute
SQL_INTERVAL_MINUTE_TO_SECONDsql interval minute to second
SQL_INTERVAL_MONTHsql interval month
SQL_INTERVAL_SECONDsql interval second
SQL_INTERVAL_YEARsql interval year
SQL_INTERVAL_YEAR_TO_MONTHsql interval year to month
SQL_LONG_VAR_BINARYsql long variable binary
SQL_LONG_VAR_CHARsql long variable char
SQL_NUMERICsql numeric
SQL_REALsql real
SQL_SIGNED_OFFSETsql signed offset
SQL_SMALL_INTsql small int
SQL_TINY_INTsql tiny int
SQL_TYPE_DATEsql date type
SQL_TYPE_TIMEsql time type
SQL_TYPE_TIMESTAMPsql timestamp type
SQL_UNKNOWN_TYPEsql unknown type
SQL_UNSIGNED_OFFSETsql unsigned offset
SQL_VAR_BINARYsql variable binary
SQL_VAR_CHARsql variable char
SQL_W_CHARsql wide char
SQL_W_LONG_VARCHARsql wide long variable char
SQL_W_VARCHARsql wide variable char

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

SQL_BIG_INT

public static final int SQL_BIG_INT

sql big int

SQL_BINARY

public static final int SQL_BINARY

sql binary

SQL_BIT

public static final int SQL_BIT

sql bit

SQL_CHAR

public static final int SQL_CHAR

sql char

SQL_DECIMAL

public static final int SQL_DECIMAL

sql decimal

SQL_DOUBLE

public static final int SQL_DOUBLE

sql double

SQL_FLOAT

public static final int SQL_FLOAT

sql float

SQL_GUID

public static final int SQL_GUID

sql guid

SQL_INTEGER

public static final int SQL_INTEGER

sql integer

SQL_INTERVAL_DAY

public static final int SQL_INTERVAL_DAY

sql interval day

SQL_INTERVAL_DAY_TO_HOUR

public static final int SQL_INTERVAL_DAY_TO_HOUR

sql interval day to hour

SQL_INTERVAL_DAY_TO_MINUTE

public static final int SQL_INTERVAL_DAY_TO_MINUTE

sql interval day to minute

SQL_INTERVAL_DAY_TO_SECOND

public static final int SQL_INTERVAL_DAY_TO_SECOND

sql interval day to second

SQL_INTERVAL_HOUR

public static final int SQL_INTERVAL_HOUR

sql interval hour

SQL_INTERVAL_HOUR_TO_MINUTE

public static final int SQL_INTERVAL_HOUR_TO_MINUTE

sql interval hour to minute

SQL_INTERVAL_HOUR_TO_SECOND

public static final int SQL_INTERVAL_HOUR_TO_SECOND

sql interval hour to second

SQL_INTERVAL_MINUTE

public static final int SQL_INTERVAL_MINUTE

sql interval minute

SQL_INTERVAL_MINUTE_TO_SECOND

public static final int SQL_INTERVAL_MINUTE_TO_SECOND

sql interval minute to second

SQL_INTERVAL_MONTH

public static final int SQL_INTERVAL_MONTH

sql interval month

SQL_INTERVAL_SECOND

public static final int SQL_INTERVAL_SECOND

sql interval second

SQL_INTERVAL_YEAR

public static final int SQL_INTERVAL_YEAR

sql interval year

SQL_INTERVAL_YEAR_TO_MONTH

public static final int SQL_INTERVAL_YEAR_TO_MONTH

sql interval year to month

SQL_LONG_VAR_BINARY

public static final int SQL_LONG_VAR_BINARY

sql long variable binary

SQL_LONG_VAR_CHAR

public static final int SQL_LONG_VAR_CHAR

sql long variable char

SQL_NUMERIC

public static final int SQL_NUMERIC

sql numeric

SQL_REAL

public static final int SQL_REAL

sql real

SQL_SIGNED_OFFSET

public static final int SQL_SIGNED_OFFSET

sql signed offset

SQL_SMALL_INT

public static final int SQL_SMALL_INT

sql small int

SQL_TINY_INT

public static final int SQL_TINY_INT

sql tiny int

SQL_TYPE_DATE

public static final int SQL_TYPE_DATE

sql date type

SQL_TYPE_TIME

public static final int SQL_TYPE_TIME

sql time type

SQL_TYPE_TIMESTAMP

public static final int SQL_TYPE_TIMESTAMP

sql timestamp type

SQL_UNKNOWN_TYPE

public static final int SQL_UNKNOWN_TYPE

sql unknown type

SQL_UNSIGNED_OFFSET

public static final int SQL_UNSIGNED_OFFSET

sql unsigned offset

SQL_VAR_BINARY

public static final int SQL_VAR_BINARY

sql variable binary

SQL_VAR_CHAR

public static final int SQL_VAR_CHAR

sql variable char

SQL_W_CHAR

public static final int SQL_W_CHAR

sql wide char

SQL_W_LONG_VARCHAR

public static final int SQL_W_LONG_VARCHAR

sql wide long variable char

SQL_W_VARCHAR

public static final int SQL_W_VARCHAR

sql wide variable char

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int