info.addNativeTypeMapping(Types.REF,         "LONGVARBINARY"); info.addNativeTypeMapping(Types.STRUCT,      "LONGVARBINARY"); info.addNativeTypeMapping("BOOLEAN",  "BIT"); info.addNativeTypeMapping("DATALINK", "LONGVARBINARY");
info.addNativeTypeMapping(Types.REF,         "LONGVARBINARY", Types.LONGVARBINARY); info.addNativeTypeMapping(Types.STRUCT,      "LONGVARBINARY", Types.LONGVARBINARY);  info.addNativeTypeMapping(Types.TINYINT,     "SMALLINT",      Types.SMALLINT); if (Jdbc3Utils.supportsJava14JdbcTypes()) {  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);
    public HsqlDbPlatform()    {        PlatformInfo info = new PlatformInfo();        info.setRequiringNullAsDefaultValue(false);        info.setPrimaryKeyEmbedded(true);        info.setForeignKeysEmbedded(false);        info.setIndicesEmbedded(false);        info.addNativeTypeMapping(Types.ARRAY,       "LONGVARBINARY");        info.addNativeTypeMapping(Types.BLOB,        "LONGVARBINARY");        info.addNativeTypeMapping(Types.CLOB,        "LONGVARCHAR");        info.addNativeTypeMapping(Types.DISTINCT,    "LONGVARBINARY");        info.addNativeTypeMapping(Types.FLOAT,       "DOUBLE");        info.addNativeTypeMapping(Types.JAVA_OBJECT, "OBJECT");        info.addNativeTypeMapping(Types.NULL,        "LONGVARBINARY");        info.addNativeTypeMapping(Types.OTHER,       "OTHER");        info.addNativeTypeMapping(Types.REF,         "LONGVARBINARY");        info.addNativeTypeMapping(Types.STRUCT,      "LONGVARBINARY");        info.addNativeTypeMapping("BOOLEAN",  "BIT");        info.addNativeTypeMapping("DATALINK", "LONGVARBINARY");        setSqlBuilder(new HsqlDbBuilder(info));    }