> if (!jpaEm.isDetached(found)) throw new IllegalStateException("entity
should be detached");

How does 
 if (!jpaEm.isDetached(detached)) throw new IllegalStateException("entity
should be detached");

do?

OpenJPA 1.2 will return a detached "copy" of the original argument. 

-----
Pinaki 
-- 
View this message in context: 
http://n2.nabble.com/How-to-unenhance-entities-tp4749734p4754415.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to