|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.meta.JavaTypes
org.apache.openjpa.jdbc.meta.JavaSQLTypes
public class JavaSQLTypes
Java SQL type constants.
| Field Summary | |
|---|---|
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
|
| Fields inherited from class org.apache.openjpa.meta.JavaTypes |
|---|
ARRAY, BIGDECIMAL, BIGINTEGER, BOOLEAN, BOOLEAN_OBJ, BYTE, BYTE_OBJ, CALENDAR, CHAR, CHAR_OBJ, COLLECTION, DATE, DOUBLE, DOUBLE_OBJ, FLOAT, FLOAT_OBJ, INT, INT_OBJ, LOCALE, LONG, LONG_OBJ, MAP, NUMBER, OBJECT, OID, PC, PC_UNTYPED, SHORT, SHORT_OBJ, STRING |
| Constructor Summary | |
|---|---|
JavaSQLTypes()
|
|
| Method Summary | |
|---|---|
static int |
getDateTypeCode(java.lang.Class dtype)
Return the proper date typecode. |
static java.lang.Object |
getEmptyValue(int type)
Return an empty value object for the given type code. |
static java.lang.Object |
getNonEmptyValue(int type)
Return a non-empty value object for the given type code. |
| Methods inherited from class org.apache.openjpa.meta.JavaTypes |
|---|
classForName, classForName, classForName, classForName, convert, getTypeCode, maybePC, maybePC, toArray, toList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public JavaSQLTypes()
| Method Detail |
|---|
public static int getDateTypeCode(java.lang.Class dtype)
public static java.lang.Object getEmptyValue(int type)
public static java.lang.Object getNonEmptyValue(int type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||