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.


Ravi -
This looks similar to a known problem (See 
https://issues.apache.org/jira/browse/OPENJPA-453). I see you commented on this 
JIRA a few weeks back?

-Rick


Hi,

Thanks for looking into this.

Please find the attached test case.

openJPATestCase.zip 

A readme.txt file is in the zip that gives you details on how to run the 
testcase.

Please let me know if you need anything else.

Regards,
Ravi.




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

Reply via email to