Reimplemented daos according to jpa specification.