With my vague understanding of what's going on here, it appears that you are 
asking the same question just in a different context. 

Unfortunately I don't have a good enough understanding of OpenJPA to decide how 
this should work. Maybe someone else wants to take a look at this one, and 
OPENJPA-453? I did some hacking and found a way to get the consistent behavior, 
but I'm not sure of the repercussions.

-Rick

Hi Rick,

Yes I commented on that post.

But then later realized that an embedded object's state can also be persistant.

Meaning, 

If you check this current post, before evict if I check 
embeddedObject.isPersistent() then it returned true.

But after evicting an embedded object the isPersistent() is false but for an 
entity object it is true.

I think the difference should not be there between an embedded object and an 
entity object.

Hope it clears the questions as to why I had to open this issue.
Please let me know if you have any questions.

Thanks,
Ravi.



-- 
View this message in context: 
http://n2.nabble.com/Evicting-an-embedded-object.-tp2528068p2570956.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to