Yes, it is a bug.
http://jira.jboss.com/jira/browse/JBSEAM-533
But actually it looks like the bug is in HEM, not in Seam (I assume you are
using Hibernate):
http://java.sun.com/javaee/5/docs/api/javax/persistence/EntityManager.html#contains(java.lang.Object)
So why not report this in
Thanks again! it works!
And, yes! I am using JBoss 4.0.5/EJB3 R9 (Hibernate on base).
I am not conviced that this is HEM bug. By specs, an entity bean may be any
POJO (including XML-only mapped one) that can be associated with a certain
Persistence Unit. This way, contains should not evaluate