protected void remove(String databaseName, Filter filter, Session session) throws HibernateException { String f = filter.getHQLQuery(); if (f.length() != 0) f = " where " + f; session.delete("from " + databaseName + f);
protected void remove(Object object, Session session) throws HibernateException { session.delete(object);
    protected void remove(String databaseName, Filter filter, Session session) throws HibernateException {        String f = filter.getHQLQuery();        if (f.length() != 0)            f = " where " + f;        session.delete("from " + databaseName + f);    }