If I am running JPA in extended persistence context, when I call EntityManager.merge() within a transaction and then commit the transaction, should it or shouldn't it execute the SQL?

I assumed that it would but I have a situation where it won't unless I call EntityManager.flush() before committing the transaction.


Regards
Adam

Reply via email to