public List getObjects(String HQLQuery) {
        List lista = null;
        try {
            Query q = cx.createQuery(HQLQuery);
            lista = q.list();
        } catch (Exception e) {
        }
        return lista;
    }