info.addNativeTypeMapping("BOOLEAN",  "NUMBER(1,0)", "BIT"); info.addNativeTypeMapping("DATALINK", "BLOB",        "BLOB");
info.addNativeTypeMapping("BOOLEAN",  "NUMBER(1)", "BIT"); info.addNativeTypeMapping("DATALINK", "BLOB",      "BLOB");
    public Oracle8Platform()    {        PlatformInfo info = new PlatformInfo();        info.setMaxIdentifierLength(30);        info.setRequiringNullAsDefaultValue(false);        info.setPrimaryKeyEmbedded(true);        info.setForeignKeysEmbedded(false);        info.setIndicesEmbedded(false);        info.setCanReadAutoIncrementStatus(false);        // Note that the back-mappings are partially done by the model reader, not the driver        info.addNativeTypeMapping(Types.ARRAY,         "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.BIGINT,        "NUMBER(38)");        info.addNativeTypeMapping(Types.BINARY,        "RAW",              Types.VARBINARY);        info.addNativeTypeMapping(Types.BIT,           "NUMBER(1)");        info.addNativeTypeMapping(Types.DATE,          "DATE",             Types.TIMESTAMP);        info.addNativeTypeMapping(Types.DECIMAL,       "NUMBER");        info.addNativeTypeMapping(Types.DISTINCT,      "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.DOUBLE,        "DOUBLE PRECISION");        info.addNativeTypeMapping(Types.FLOAT,         "FLOAT",            Types.DOUBLE);        info.addNativeTypeMapping(Types.INTEGER,       "INTEGER");        info.addNativeTypeMapping(Types.JAVA_OBJECT,   "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.LONGVARBINARY, "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.LONGVARCHAR,   "CLOB",             Types.CLOB);        info.addNativeTypeMapping(Types.NULL,          "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.NUMERIC,       "NUMBER",           Types.DECIMAL);        info.addNativeTypeMapping(Types.OTHER,         "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.REAL,          "REAL");        info.addNativeTypeMapping(Types.REF,           "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.SMALLINT,      "NUMBER(5)");        info.addNativeTypeMapping(Types.STRUCT,        "BLOB",             Types.BLOB);        info.addNativeTypeMapping(Types.TIME,          "DATE",             Types.TIMESTAMP);        info.addNativeTypeMapping(Types.TIMESTAMP,     "DATE");        info.addNativeTypeMapping(Types.TINYINT,       "NUMBER(3)");        info.addNativeTypeMapping(Types.VARBINARY,     "RAW");        info.addNativeTypeMapping(Types.VARCHAR,       "VARCHAR2");        info.addNativeTypeMapping("BOOLEAN",  "NUMBER(1,0)", "BIT");        info.addNativeTypeMapping("DATALINK", "BLOB",        "BLOB");        info.addDefaultSize(Types.CHAR,       254);        info.addDefaultSize(Types.VARCHAR,    254);        info.addDefaultSize(Types.BINARY,     254);        info.addDefaultSize(Types.VARBINARY,  254);        setSqlBuilder(new Oracle8Builder(info));        setModelReader(new Oracle8ModelReader(info));    }