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.
Explanation: