This content has been marked as final.
Show 3 replies
-
1. Re: how to stop seam auto updating database
pmuir Jan 3, 2008 1:21 PM (in response to terryb)Use manual flush mode and don't call entityManager.flush()
-
2. Re: how to stop seam auto updating database
terryb Jan 4, 2008 1:56 AM (in response to terryb)
is that the case too when there is no long running coversation and seam managed transactions?
Docs have info about manual trans with BEGIN END annotations only. haven't been able to figure out manual trans in absence of BEGIN END...components.xml <persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="java:/tisconline-adminEntityManagerFactory"/>
-
3. Re: how to stop seam auto updating database
pmuir Jan 4, 2008 6:49 AM (in response to terryb)Do it programatically
PersistenceProvider.instance().setManualFlushMode(entityManager);