import static java.sql.Types.BIGINT;
import static java.sql.Types.BIT;
import static java.sql.Types.BOOLEAN;
+import static java.sql.Types.CLOB;
import static java.sql.Types.DECIMAL;
import static java.sql.Types.DOUBLE;
import static java.sql.Types.INTEGER;
private static final Pattern INDEX_NAME_PATTERN = Pattern.compile("COALESCE\\(([\\w_]*),");
- private static final Map<Integer, Integer> POSTGRES_TYPE_SUBSTITUTION = Map.of(BOOLEAN, BIT,
- DOUBLE, NUMERIC);
+ private static final Map<Integer, Integer> POSTGRES_TYPE_SUBSTITUTION = Map.of(
+ BOOLEAN, BIT,
+ DOUBLE, NUMERIC,
+ CLOB, VARCHAR);
private static final Map<Integer, Integer> MSSQL_TYPE_SUBSTITUTION = Map.of(
BOOLEAN, BIT,
VARCHAR, NVARCHAR,
- DOUBLE, DECIMAL);
-
+ DOUBLE, DECIMAL,
+ CLOB, NVARCHAR);
private static final Map<Integer, Integer> ORACLE_TYPE_SUBSTITUTION = Map.of(
BOOLEAN, NUMERIC,
BIGINT, NUMERIC,