top / index / prev / next / target / source

2021-05-16 diary: [Oiyokan] OData Edm to JDBC Types mapping of Oiyokan v1.14

いがぴょんの日記 日記形式でつづる いがぴょんコラム ウェブページです。

[Oiyokan] OData Edm to JDBC Types mapping of Oiyokan v1.14

Supported types mapping

Type mapping of Oiyokan v1.14 is like below:

Edm type JDBC type h2 type PostgreSQL MySQL SQLSV2008 ORCL18
Edm.SByte Types.TINYINT TINYINT (N/A) TINYINT TINYINT (N/A)
Edm.Int16 Types.SMALLINT SMALLINT smallint (int2) SMALLINT SMALLINT SMALLINT
Edm.Int32 Types.INTEGER INTEGER int (int4) INTEGER INT INT
Edm.Int64 Types.BIGINT BIGINT bigint (int8) BIGINT BIGINT (N/A)
Edm.Decimal Types.DECIMAL DECIMAL decimal(numeric) DECIMAL DECIMAL DECIMAL
Edm.String Types.CHAR CHAR char (bpchar) CHAR CHAR CHAR
Edm.String Types.VARCHAR VARCHAR varchar VARCHAR VARCHAR VARCHAR
Edm.String Types.CLOB CLOB text TEXT TEXT CLOB
Edm.Boolean Types.BOOLEAN BOOLEAN bool (Types.BIT) BOOLEAN BIT(Types.BIT) (N/A)
Edm.Single Types.REAL REAL real (flort4) REAL REAL REAL
Edm.Double Types.DOUBLE DOUBLE double precision DOUBLE FLOAT(53) FLOAT
Edm.Date Types.DATE DATE date DATE DATE DATE
Edm.DateTimeOffset Types.TIMESTAMP TIMESTAMP timestamp TIMESTAMP DATETIME2 TIMESTAMP
Edm.TimeOfDay Types.TIME TIME time TIME TIME (N/A)
Edm.Binary Types.VARBINARY VARBINARY bytea VARBINARY VARBINARY RAW
Edm.Binary Types.BLOB BLOB bytea BLOB VARBINARY BLOB

from: github v1.14.20210510 OiyoMapJdbcEdmUtil.java

Related Diary

Last modified: $Date: 2021-05-04 $

登場キーワード


この日記について