This content has been marked as final.
Show 2 replies
-
1. Re: em.refresh() throws an error at me
kh2ouija Apr 27, 2006 9:43 AM (in response to kh2ouija)Anyway, I think I know what the problem is, I just don't know how to fix it. I believe it's because I'm reading the Company in one bean, deleting the Employee in another (therefore withing a different PersistenceContext) and then refreshing it in the first bean again, so the PersistenceContexts aren't "in sync" anymore...
-
2. Re: em.refresh() throws an error at me
kh2ouija Apr 28, 2006 3:06 AM (in response to kh2ouija)Just ignore the previous post; it happens even when deleting within the same PersistenceContext.