String myQuery = null;  if ("oracle".equals(ConfigurationManager.getProperty("db.name"))) { myQuery = "SELECT * FROM item WHERE in_archive=1 AND submitter_id=" + eperson.getID(); } else {  myQuery = "SELECT * FROM item WHERE in_archive=true AND submitter_id=" + eperson.getID(); }
String myQuery = "SELECT * FROM item WHERE in_archive='1' AND submitter_id=" + eperson.getID();
    public static ItemIterator findBySubmitter(Context context, EPerson eperson)            throws SQLException    {        String myQuery = null;        if ("oracle".equals(ConfigurationManager.getProperty("db.name")))        {            myQuery = "SELECT * FROM item WHERE in_archive=1 AND submitter_id="                    + eperson.getID();        }        else        {            // default postgres            myQuery = "SELECT * FROM item WHERE in_archive=true AND submitter_id="                    + eperson.getID();        }        TableRowIterator rows = DatabaseManager.query(context, "item", myQuery);        return new ItemIterator(context, rows);    }