working on the rql to hibernate criteria converter