- java.lang.Object
-
- java.sql.Types
-
public class Types extends Object
The class that defines the constants that are used to identify generic SQL types, called JDBC types.
This class is never instantiated.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
ARRAY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY
.static int
BIGINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIGINT
.static int
BINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBINARY
.static int
BIT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIT
.static int
BLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB
.static int
BOOLEAN
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeBOOLEAN
.static int
CHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCHAR
.static int
CLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB
.static int
DATALINK
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeDATALINK
.static int
DATE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATE
.static int
DECIMAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDECIMAL
.static int
DISTINCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT
.static int
DOUBLE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDOUBLE
.static int
FLOAT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeFLOAT
.static int
INTEGER
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeINTEGER
.static int
JAVA_OBJECT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJAVA_OBJECT
.static int
LONGNVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR
.static int
LONGVARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARBINARY
.static int
LONGVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARCHAR
.static int
NCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHAR
static int
NCLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB
.static int
NULL
The constant in the Java programming language that identifies the generic SQL valueNULL
.static int
NUMERIC
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNUMERIC
.static int
NVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR
.static int
OTHER
The 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 methodsgetObject
andsetObject
.static int
REAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREAL
.static int
REF
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF
.static int
ROWID
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWID
static int
SMALLINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSMALLINT
.static int
SQLXML
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML
.static int
STRUCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT
.static int
TIME
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME
.static int
TIMESTAMP
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP
.static int
TINYINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTINYINT
.static int
VARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARBINARY
.static int
VARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARCHAR
.
-
-
-
Field Detail
-
BIT
public static final int BIT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIT
.- See Also:
- Constant Field Values
-
TINYINT
public static final int TINYINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TINYINT
.- See Also:
- Constant Field Values
-
SMALLINT
public static final int SMALLINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
SMALLINT
.- See Also:
- Constant Field Values
-
INTEGER
public static final int INTEGER
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
INTEGER
.- See Also:
- Constant Field Values
-
BIGINT
public static final int BIGINT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIGINT
.- See Also:
- Constant Field Values
-
FLOAT
public static final int FLOAT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
FLOAT
.- See Also:
- Constant Field Values
-
REAL
public static final int REAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
REAL
.- See Also:
- Constant Field Values
-
DOUBLE
public static final int DOUBLE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DOUBLE
.- See Also:
- Constant Field Values
-
NUMERIC
public static final int NUMERIC
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NUMERIC
.- See Also:
- Constant Field Values
-
DECIMAL
public static final int DECIMAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DECIMAL
.- See Also:
- Constant Field Values
-
CHAR
public static final int CHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
CHAR
.- See Also:
- Constant Field Values
-
VARCHAR
public static final int VARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARCHAR
.- See Also:
- Constant Field Values
-
LONGVARCHAR
public static final int LONGVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARCHAR
.- See Also:
- Constant Field Values
-
DATE
public static final int DATE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DATE
.- See Also:
- Constant Field Values
-
TIME
public static final int TIME
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIME
.- See Also:
- Constant Field Values
-
TIMESTAMP
public static final int TIMESTAMP
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIMESTAMP
.- See Also:
- Constant Field Values
-
BINARY
public static final int BINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BINARY
.- See Also:
- Constant Field Values
-
VARBINARY
public static final int VARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARBINARY
.- See Also:
- Constant Field Values
-
LONGVARBINARY
public static final int LONGVARBINARY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARBINARY
.- See Also:
- Constant Field Values
-
NULL
public static final int NULL
The constant in the Java programming language that identifies the generic SQL value
NULL
.- See Also:
- Constant Field Values
-
OTHER
public static final int OTHER
The 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 methodsgetObject
andsetObject
.- See Also:
- Constant Field Values
-
JAVA_OBJECT
public static final int JAVA_OBJECT
The 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:
- Constant Field Values
-
DISTINCT
public static final int DISTINCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
STRUCT
public static final int STRUCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
ARRAY
public static final int ARRAY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
BLOB
public static final int BLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
CLOB
public static final int CLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
REF
public static final int REF
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
DATALINK
public static final int DATALINK
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeDATALINK
.- Since:
- 1.4
- See Also:
- Constant Field Values
-
BOOLEAN
public static final int BOOLEAN
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeBOOLEAN
.- Since:
- 1.4
- See Also:
- Constant Field Values
-
ROWID
public static final int ROWID
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWID
- Since:
- 1.6
- See Also:
- Constant Field Values
-
NCHAR
public static final int NCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHAR
- Since:
- 1.6
- See Also:
- Constant Field Values
-
NVARCHAR
public static final int NVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
LONGNVARCHAR
public static final int LONGNVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
NCLOB
public static final int NCLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
SQLXML
public static final int SQLXML
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/sql/types.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.