Parameter targetEntity on createCriteriaUpdate and createCriteriaDelete (class CriteriaBuilder) is never used

Description

/// Error:

CriteriaBuilder builder = em.getCriteriaBuilder();
CriteriaUpdate<DomainEntity> update = builder.createCriteriaUpdate(DomainEntity.class);

// NullPointerException because no root is defined yet
update.set("someAttribute", "someValue");

Environment

None

Status

Assignee

Unassigned

Reporter

Yosbel Rodríguez

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure