Class Types
The class that defines the constants that are used to identify generic SQL types, called JDBC types.
This class is never instantiated.
- Since:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIGINT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBINARY.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBOOLEAN.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCHAR.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATALINK.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATE.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDECFLOAT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDECIMAL.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDOUBLE.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeFLOAT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeINTEGER.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJAVA_OBJECT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJSON.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARBINARY.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARCHAR.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHARstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB.static final intThe constant in the Java programming language that identifies the generic SQL valueNULL.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNUMERIC.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR.static final intThe constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methodsgetObjectandsetObject.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREAL.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF CURSOR.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWIDstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSMALLINT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME WITH TIMEZONE.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP WITH TIMEZONE.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTINYINT.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARBINARY.static final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARCHAR. -
Method Summary
Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Answers a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.May cause performance issues, deadlocks and hangs.getClass()Answers the unique instance of java.lang.Class which represents the class of the receiver.inthashCode()Answers an integer hash code for the receiver.final voidnotify()Causes one thread which iswaiting on the receiver to be made ready to run.final voidCauses all threads which arewaiting on the receiver to be made ready to run.toString()Answers a string containing a concise, human-readable description of the receiver.final voidwait()Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated bynotifyornotifyAll).final voidwait(long time) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.final voidwait(long time, int frac) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.
-
Field Details
-
BIT
public static final int BITThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIT.- See Also:
-
TINYINT
public static final int TINYINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TINYINT.- See Also:
-
SMALLINT
public static final int SMALLINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
SMALLINT.- See Also:
-
INTEGER
public static final int INTEGERThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
INTEGER.- See Also:
-
BIGINT
public static final int BIGINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIGINT.- See Also:
-
FLOAT
public static final int FLOATThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
FLOAT.- See Also:
-
REAL
public static final int REALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
REAL.- See Also:
-
DOUBLE
public static final int DOUBLEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DOUBLE.- See Also:
-
NUMERIC
public static final int NUMERICThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NUMERIC.- See Also:
-
DECIMAL
public static final int DECIMALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DECIMAL.- See Also:
-
CHAR
public static final int CHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
CHAR.- See Also:
-
VARCHAR
public static final int VARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARCHAR.- See Also:
-
LONGVARCHAR
public static final int LONGVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARCHAR.- See Also:
-
DATE
public static final int DATEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DATE.- See Also:
-
TIME
public static final int TIMEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIME.- See Also:
-
TIMESTAMP
public static final int TIMESTAMPThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIMESTAMP.- See Also:
-
BINARY
public static final int BINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BINARY.- See Also:
-
VARBINARY
public static final int VARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARBINARY.- See Also:
-
LONGVARBINARY
public static final int LONGVARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARBINARY.- See Also:
-
NULL
public static final int NULLThe constant in the Java programming language that identifies the generic SQL value
NULL.- See Also:
-
OTHER
public static final int OTHERThe constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methodsgetObjectandsetObject.- See Also:
-
JAVA_OBJECT
public static final int JAVA_OBJECTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJAVA_OBJECT.- Since:
- 1.2
- See Also:
-
DISTINCT
public static final int DISTINCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT.- Since:
- 1.2
- See Also:
-
STRUCT
public static final int STRUCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT.- Since:
- 1.2
- See Also:
-
ARRAY
public static final int ARRAYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY.- Since:
- 1.2
- See Also:
-
BLOB
public static final int BLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB.- Since:
- 1.2
- See Also:
-
CLOB
public static final int CLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB.- Since:
- 1.2
- See Also:
-
REF
public static final int REFThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF.- Since:
- 1.2
- See Also:
-
DATALINK
public static final int DATALINKThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATALINK.- Since:
- 1.4
- See Also:
-
BOOLEAN
public static final int BOOLEANThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBOOLEAN.- Since:
- 1.4
- See Also:
-
ROWID
public static final int ROWIDThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWID- Since:
- 1.6
- See Also:
-
NCHAR
public static final int NCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHAR- Since:
- 1.6
- See Also:
-
NVARCHAR
public static final int NVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR.- Since:
- 1.6
- See Also:
-
LONGNVARCHAR
public static final int LONGNVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR.- Since:
- 1.6
- See Also:
-
NCLOB
public static final int NCLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB.- Since:
- 1.6
- See Also:
-
SQLXML
public static final int SQLXMLThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML.- Since:
- 1.6
- See Also:
-
REF_CURSOR
public static final int REF_CURSORThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF CURSOR.- Since:
- 1.8
- See Also:
-
TIME_WITH_TIMEZONE
public static final int TIME_WITH_TIMEZONEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME WITH TIMEZONE.- Since:
- 1.8
- See Also:
-
TIMESTAMP_WITH_TIMEZONE
public static final int TIMESTAMP_WITH_TIMEZONEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP WITH TIMEZONE.- Since:
- 1.8
- See Also:
-
DECFLOAT
public static final int DECFLOATThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDECFLOAT.- Since:
- 26
- See Also:
-
JSON
public static final int JSONThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJSON.- Since:
- 26
- See Also:
-