The automatically generated code for the Facade for delete function is:
entityManager.remove(persistentInstance);
However, this results in a runtime exception. The correct code should be something like:
entityManager.remove(entityManager.getReference(Users.class, persistentInstance.getName()));
Here, Users.java is my entity bean, again, generated by MyEclipse and persistentInstance.getName() will return the value for ID. This is known at the time of Entity Bean generation.
Will the subscriptions be generous enough to extend my trail period as myself and my team are trying out a lot of features and reporting any bugs as we encounter them?
Cheers,
Ashish.