Q15
Single choice
A developer implemented a Java class called Store. The class is annotated correctly to act as an entity.
The developer created a stateless session bean to create, lookup, and remove Store objects. This session bean has a container-managed entity manager injected into field em and a removeStore method with transaction attribute REQUIRED.
Given the following code :
32. public void re move St ore (St ore store) {
33. em.remove(store); 34.}
What is a possible reason that an HlegalArgumentException is thrown at Line 33 when the removeStore method is called by a remote client?