setModelReader(new MySqlModelReader(info));
    public MySqlPlatform()    {        PlatformInfo info = new PlatformInfo();        info.setMaxIdentifierLength(64);        info.setRequiringNullAsDefaultValue(false);        info.setPrimaryKeyEmbedded(true);        info.setForeignKeysEmbedded(false);        info.setIndicesEmbedded(false);        info.setCommentPrefix("#");        // Double quotes are only allowed for delimiting identifiers if the server SQL mode includes ANSI_QUOTES         info.setDelimiterToken("`");        // the BINARY types are also handled by MySqlBuilder.getSqlType(Column)        info.addNativeTypeMapping(Types.ARRAY,         "LONGBLOB");        info.addNativeTypeMapping(Types.BINARY,        "CHAR {0} BINARY");        info.addNativeTypeMapping(Types.BIT,           "TINYINT(1)");        info.addNativeTypeMapping(Types.BLOB,          "LONGBLOB");        info.addNativeTypeMapping(Types.CLOB,          "LONGTEXT");        info.addNativeTypeMapping(Types.DISTINCT,      "LONGBLOB");        info.addNativeTypeMapping(Types.FLOAT,         "DOUBLE");        info.addNativeTypeMapping(Types.JAVA_OBJECT,   "LONGBLOB");        info.addNativeTypeMapping(Types.LONGVARBINARY, "MEDIUMBLOB");        info.addNativeTypeMapping(Types.LONGVARCHAR,   "MEDIUMTEXT");        info.addNativeTypeMapping(Types.NULL,          "MEDIUMBLOB");        info.addNativeTypeMapping(Types.NUMERIC,       "DECIMAL");        info.addNativeTypeMapping(Types.OTHER,         "LONGBLOB");        info.addNativeTypeMapping(Types.REAL,          "FLOAT");        info.addNativeTypeMapping(Types.REF,           "MEDIUMBLOB");        info.addNativeTypeMapping(Types.STRUCT,        "LONGBLOB");        // Since TIMESTAMP is not a stable datatype yet, and does not support a higher precision        // that DATETIME (year to seconds) as of MySQL 5, we map the JDBC type here to DATETIME        // TODO: Make this configurable        info.addNativeTypeMapping(Types.TIMESTAMP,     "DATETIME");        info.addNativeTypeMapping(Types.VARBINARY,     "VARCHAR {0} BINARY");        info.addNativeTypeMapping("BOOLEAN",  "TINYINT(1)");        info.addNativeTypeMapping("DATALINK", "MEDIUMBLOB");        info.addDefaultSize(Types.BINARY,    254);        info.addDefaultSize(Types.VARBINARY, 254);                setSqlBuilder(new MySqlBuilder(info));    }