DRAG DROP
Click the Task button.
A Department entity is in a onE. to-many relationship with an Employee entity. A developer has
been asked to write a Java Persistence query to update the set of employees who are in the
department ‘HR’ by setting their department to null.
Construct a query using the Java Persistence query language to perform this task.
Construct a valid Java Persistence query by dragging and dropping the syntax fragements. Drag
and drop question. Drag the items to the proper locations.
Explanation: