Very simple HQL generator and hibernate criteria like api