Insert does not occur when using @PostPersist to insert a new entity into Oracle or Postgres with JBoss EAP 5
Issue
Assume there exists an entity A which has an EntityListener. Within the entity listener's @PostPersist method, a stateless session bean is called to persist another entity, H, using an EntityManager from the same PersistenceUnit as used to persist A. When the backend database is MySQL or Hypersonic, H is inserted, but when executing against Oracle, H is not inserted, although no Exceptions are logged.
Environment
JBoss Enterprise Application Platform (EAP) 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.