read QGL objects from DB