File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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.
Entity Manager Remove Operation
Doubts in Enthuware mock Questions
How do I add a row efficiently in a unidirectional one-to-many relationship?
detached entity vs. removed entity
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014