info.addNativeTypeMapping(Types.ARRAY,         "BLOB"); info.addNativeTypeMapping(Types.BIGINT,        "NUMBER(38,0)"); info.addNativeTypeMapping(Types.BINARY,        "RAW"); info.addNativeTypeMapping(Types.BIT,           "NUMBER(1,0)");
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);
    public Oracle8Platform()    {        PlatformInfo info = new PlatformInfo();        info.setMaxIdentifierLength(30);        info.setRequiringNullAsDefaultValue(false);        info.setPrimaryKeyEmbedded(true);        info.setForeignKeysEmbedded(false);        info.setIndicesEmbedded(false);        info.addNativeTypeMapping(Types.ARRAY,         "BLOB");        info.addNativeTypeMapping(Types.BIGINT,        "NUMBER(38,0)");        info.addNativeTypeMapping(Types.BINARY,        "RAW");        info.addNativeTypeMapping(Types.BIT,           "NUMBER(1,0)");        info.addNativeTypeMapping(Types.DECIMAL,       "NUMBER");        info.addNativeTypeMapping(Types.DISTINCT,      "BLOB");        info.addNativeTypeMapping(Types.DOUBLE,        "NUMBER(38)");        info.addNativeTypeMapping(Types.FLOAT,         "NUMBER(38)");        info.addNativeTypeMapping(Types.INTEGER,       "NUMBER(20,0)");        info.addNativeTypeMapping(Types.JAVA_OBJECT,   "BLOB");        info.addNativeTypeMapping(Types.LONGVARBINARY, "BLOB");        info.addNativeTypeMapping(Types.LONGVARCHAR,   "CLOB");        info.addNativeTypeMapping(Types.NULL,          "BLOB");        info.addNativeTypeMapping(Types.NUMERIC,       "NUMBER");        info.addNativeTypeMapping(Types.OTHER,         "BLOB");        info.addNativeTypeMapping(Types.REAL,          "NUMBER(18)");        info.addNativeTypeMapping(Types.REF,           "BLOB");        info.addNativeTypeMapping(Types.SMALLINT,      "NUMBER(5,0)");        info.addNativeTypeMapping(Types.STRUCT,        "BLOB");        info.addNativeTypeMapping(Types.TIME,          "DATE");        info.addNativeTypeMapping(Types.TIMESTAMP,     "DATE");        info.addNativeTypeMapping(Types.TINYINT,       "NUMBER(3,0)");        info.addNativeTypeMapping(Types.VARBINARY,     "RAW");        info.addNativeTypeMapping(Types.VARCHAR,       "VARCHAR2");        info.addNativeTypeMapping("BOOLEAN",  "NUMBER(1,0)");        info.addNativeTypeMapping("DATALINK", "BLOB");        info.addDefaultSize(Types.BINARY,  254);        info.addDefaultSize(Types.VARCHAR, 254);        setSqlBuilder(new OracleBuilder(info));        setModelReader(new OracleModelReader(info));    }