if (Jdbc3Utils.supportsJava14JdbcTypes()) {  info.addNativeTypeMapping("BIT", "BOOLEAN", "BOOLEAN"); info.addNativeTypeMapping("DATALINK", "LONGVARBINARY"); }
info.addNativeTypeMapping("BIT",      "BOOLEAN",       "BOOLEAN"); info.addNativeTypeMapping("DATALINK", "LONGVARBINARY", "LONGVARBINARY");
    public HsqlDbPlatform()    {        PlatformInfo info = new PlatformInfo();        info.setRequiringNullAsDefaultValue(false);        info.setPrimaryKeyEmbedded(true);        info.setForeignKeysEmbedded(false);        info.setIndicesEmbedded(false);        info.setSupportingNonPKIdentityColumns(false);        info.addNativeTypeMapping(Types.BIT,         "BOOLEAN");        info.addNativeTypeMapping(Types.ARRAY,       "LONGVARBINARY", Types.LONGVARBINARY);        info.addNativeTypeMapping(Types.BLOB,        "LONGVARBINARY", Types.LONGVARBINARY);        info.addNativeTypeMapping(Types.CLOB,        "LONGVARCHAR",   Types.LONGVARCHAR);        info.addNativeTypeMapping(Types.DISTINCT,    "LONGVARBINARY", Types.LONGVARBINARY);        info.addNativeTypeMapping(Types.FLOAT,       "DOUBLE",        Types.DOUBLE);        info.addNativeTypeMapping(Types.JAVA_OBJECT, "OBJECT");        info.addNativeTypeMapping(Types.NULL,        "LONGVARBINARY", Types.LONGVARBINARY);        info.addNativeTypeMapping(Types.OTHER,       "OTHER");        info.addNativeTypeMapping(Types.REF,         "LONGVARBINARY", Types.LONGVARBINARY);        info.addNativeTypeMapping(Types.STRUCT,      "LONGVARBINARY", Types.LONGVARBINARY);        // JDBC's TINYINT requires a value range of -255 to 255, but HsqlDb's is only -128 to 127        info.addNativeTypeMapping(Types.TINYINT,     "SMALLINT",      Types.SMALLINT);        if (Jdbc3Utils.supportsJava14JdbcTypes())        {            // when using JDBC3, BIT will be back-mapped to BOOLEAN            info.addNativeTypeMapping("BIT", "BOOLEAN", "BOOLEAN");            info.addNativeTypeMapping("DATALINK", "LONGVARBINARY");        }        info.addDefaultSize(Types.CHAR,      Integer.MAX_VALUE);        info.addDefaultSize(Types.VARCHAR,   Integer.MAX_VALUE);        info.addDefaultSize(Types.BINARY,    Integer.MAX_VALUE);        info.addDefaultSize(Types.VARBINARY, Integer.MAX_VALUE);        setSqlBuilder(new HsqlDbBuilder(info));        setModelReader(new HsqlDbModelReader(info));    }