Any way my mistake in this env i use in the default persistence layer that shipped with JBoss (core= 3.2.3.ga).
The DAO (Ejb3 stateless):
Code:
public void makeTransient(final ManagedElement entity) throws IMDaoException {
getEntityManager().remove(entityFromDB);
}
in orm.xml i register a callback for pre-remove on all entities that extend observer
and in the pre-remove:
I have code that query for all registration on this object , and remove them.
The pre-remove call to a stateless (Ejb3) , which find all and remove.
The issue is that i dont see any exception that cause the transaction to be closed.
Thank you