Skip to main content

Explanation on Java Types

In BladePipe, for DataSources or DataJobs that need to define schema, the jdbcType attribute of the column usually needs to be described, such as message, Tunnel, file and other data sources and related connections.

The jdbcType is the integer value corresponding to a type variable defined in java.sql.Types.

This page briefly lists the jdbcType and the corresponding integer value for reference.

jdbcType - Integer Table

jdbcTypeInteger
unknown10000
ARRAY2003
BIGINT-5
BINARY-2
BIT-7
BLOB2004
BOOLEAN16
CHAR1
CLOB2005
DATALINK70
DATE91
DECIMAL3
DISTINCT2001
DOUBLE8
FLOAT6
INTEGER4
JAVA_OBJECT2000
LONGVARBINARY-4
LONGVARCHAR-1
NULL0
NUMERIC2
OTHER1111
REAL7
REF2006
SMALLINT5
STRUCT2002
TIME92
TIMESTAMP93
TINYINT-6
VARBINARY-3
VARCHAR12