Hi, we use JTA transactions and the first call (inesrting of data) is made from the first Entity Manager instance and the second call (querying of data) is from the second Entity Manager instance. As far as I know, when JTA is used, these Entity managers should "see each other", therefore when I execute query from the second Entity manager, the first Entity manager should flush inserts to DB. We have overcome this by using the same Entity manager in the subsequent calls, but it is only a workaround. So what do you think? Thanks. P.S. This workaround works only on EAP, WebLogic and WebSphere behave as before. |