A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Call EntityManager remove operation for removed entity.
Joined: May 16, 2010
May 16, 2010 09:11:06
On Mikalai Zaikin's page
For entity in removed state is sentence : "If A is a REMOVED entity, it is IGNORED" .
Is it correct ? Seems that for such situation we get
Joined: Nov 24, 2005
May 16, 2010 17:57:49
According to the specification (and that's where the guide you're using took the information from), invoking remove on a removed entity will be ignored.
If X is a removed entity, it is ignored by the remove operation.
All roads lead to JavaRanch
I agree. Here's the link:
subject: Call EntityManager remove operation for removed entity.
detached entity vs. removed entity
Entity Manager Remove Operation
Doubts in Enthuware mock Questions
How do I add a row efficiently in a unidirectional one-to-many relationship?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015