if ("oracle".equals(ConfigurationManager.getProperty("db.name"))) {  DatabaseManager.updateQuery(context, "update Bitstream set deleted = 1 where bitstream_id = " + id); } else { DatabaseManager.updateQuery(context, "update Bitstream set deleted = 't' where bitstream_id = " + id); }
DatabaseManager .updateQuery(context, "update Bitstream set deleted = '1' where bitstream_id = " + id);
    public static void delete(Context context, int id) throws SQLException    {        if ("oracle".equals(ConfigurationManager.getProperty("db.name")))        {            // oracle uses 1 for true            DatabaseManager.updateQuery(context,                    "update Bitstream set deleted = 1 where bitstream_id = "                            + id);        }        else        {            DatabaseManager.updateQuery(context,                    "update Bitstream set deleted = 't' where bitstream_id = "                            + id);        }    }