This content has been marked as final.
Show 2 replies
-
1. Re: setter updates the DB
fhh Apr 2, 2007 6:17 PM (in response to merabi)You can use entityManager.clear() to detach all (!) entities from the entity manager. Changes to detached entities will only be written after a merge to the db.
A much cleaner soluction (IMHO) to the problem are Seam's long running transactions.
Regards
Felix -
2. Re: setter updates the DB
merabi Apr 2, 2007 10:18 PM (in response to merabi)hi fhh.
thanx for the replay.
the deadline of the project is too tite that I don think I hav time to learn Seem's new feature.
I'll try the entityManager.clear() method.
thanks!