public class JavaSQLTypes extends JavaTypes
Modifier and Type | Field and Description |
---|---|
static int |
ASCII_STREAM |
static int |
BINARY_STREAM |
static int |
BLOB |
static int |
BYTES |
static int |
CHAR_STREAM |
static int |
CLOB |
static int |
JDBC_DEFAULT |
static int |
REF |
static int |
SQL_ARRAY |
static int |
SQL_DATE |
static int |
SQL_OBJECT |
static int |
TIME |
static int |
TIMESTAMP |
ARRAY, BIGDECIMAL, BIGINTEGER, BOOLEAN, BOOLEAN_OBJ, BYTE, BYTE_OBJ, CALENDAR, CHAR, CHAR_OBJ, COLLECTION, DATE, DOUBLE, DOUBLE_OBJ, ENUM, FLOAT, FLOAT_OBJ, INPUT_READER, INPUT_STREAM, INT, INT_OBJ, LOCALE, LONG, LONG_OBJ, MAP, NUMBER, OBJECT, OID, PC, PC_UNTYPED, SHORT, SHORT_OBJ, STRING
Constructor and Description |
---|
JavaSQLTypes() |
Modifier and Type | Method and Description |
---|---|
static int |
getDateTypeCode(Class<?> dtype)
Return the proper date typecode.
|
static Object |
getEmptyValue(int type)
Return an empty value object for the given type code.
|
static Object |
getNonEmptyValue(int type)
Return a non-empty value object for the given type code.
|
classForName, classForName, classForName, classForName, classForName, classForName, convert, getTypeCode, isPrimitiveDefault, maybePC, maybePC, toArray, toList
public static final int SQL_ARRAY
public static final int ASCII_STREAM
public static final int BINARY_STREAM
public static final int BLOB
public static final int BYTES
public static final int CHAR_STREAM
public static final int CLOB
public static final int SQL_DATE
public static final int SQL_OBJECT
public static final int REF
public static final int TIME
public static final int TIMESTAMP
public static final int JDBC_DEFAULT
public static int getDateTypeCode(Class<?> dtype)
public static Object getEmptyValue(int type)
public static Object getNonEmptyValue(int type)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.