[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: Persistence context lost after rollback

I've written an extention on the entitymanager that registers any persist, merge or delete action and holds those until the commit is executed. Then it re-applies these actions.

This because I ran into the same situation as you did, so now it can survive a SQLException. Simply change the entiies so it won't fail and commit again.

Tom