Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

D.14. Datatype Hierarchy View

To open Teiid Designer's Datatype Hierarchy view, click the main menu's Window > Show View > Other... and then click the Teiid Designer > Datatypes view in the dialog.
Datatype Hierarchy View

Figure D.25. Datatype Hierarchy View

The following table shows the mapping between Teiid Designer Types and JBoss Data Virtualization Runtime Types.

Table D.1. Corresponding Runtime Types

Teiid Designer Type Java Runtime Type
anyURI java.lang.String
base64Binary java.lang.String
bigdecimal java.math.BigDecimal
biginteger java.math.BigInteger
blob java.sql.Blob [a]
boolean java.lang.Boolean
byte java.lang.Byte
char java.lang.Character
clob java.sql.Clob [b]
date java.sql.Date
dateTime java.sql.Timestamp
decimal java.math.BigDecimal
double java.lang.Double
duration java.lang.String
ENTITIES java.lang.String
ENTITY java.lang.String
float java.lang.Float
gDay java.math.BigInteger
gMonth java.math.BigInteger
gMonthDay java.sql.Timestamp
gYear java.math.BigInteger
gYearMonth java.sql.Timestamp
hexBinary java.lang.String
ID java.lang.String
IDREF java.lang.String
IDREFS java.lang.String
int java.lang.Integer
integer java.math.BigInteger
language java.lang.String
long java.lang.Long
Name java.lang.String
NCName java.lang.String
negativeInteger java.math.BigInteger
NMTOKENS java.lang.String
NMTOKENS java.lang.String
nonNegativeInteger java.math.BigInteger
nonPositiveInteger java.math.BigInteger
normalizedString java.lang.String
NOTATION java.lang.String
object java.lang.Object
positiveInteger java.math.BigInteger
QName java.lang.String
short java.lang.Short
string java.lang.String
time java.sql.Time
timestamp java.sql.Timestamp
token java.lang.String
unsignedByte java.lang.Short
unsignedInt java.lang.Long
unsignedLong java.lang.BigInteger
unsignedShort java.lang.Integer
XMLLiteral java.sql.SQLXML [c]
[a] The concrete type is expected to be org.teiid.core.types.BlobType.
[b] The concrete type is expected to be org.teiid.core.types.ClobType.
[c] The concrete type is expected to be org.teiid.core.types.XMLType.