Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Deleted entities

You can use,

((UnitOfWorkImpl)em.unwrap(JpaEntityManager.class).getActiveSession()).isObjectDeleted(object)

But we should provide this API (and similar methods for new, changed, etc.)
on the JpaEntityManager and UnitOfWork interfaces, please log a bug for
this.



Michael Simons wrote:
> 
> Hello,
> 
> Is there a possibility in EL to check whether an entity was deleted like
> there was with
> JDOHelper.isDeleted (Object) ?
> 
> Kind Regards,
> Michael
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://old.nabble.com/Deleted-entities-tp27144404p27226910.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top