complete daos' implementation using jpa ql