openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam....@cyberspaceroad.org>
Subject Re: question about extended context and transactions
Date Thu, 01 May 2008 16:48:04 GMT
Adam Hardy on 30/04/08 21:22, wrote:
> 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.

I'd really appreciate an answer on this one from anyone - I find the 
documentation either too obtuse or too scant to get myself a firm enough 
understanding of the situation I'm tackling at the moment.



Mime
View raw message