hi, can i directly create unit of work on server session instead of creating multiple client session. As my application runs in multi threaded environment, so i am unable to get updated entity in some different client session so my application fails every now and then.. plz help me.
+2
A:
Yes, you can acquire a UOW directly from a ServerSession. But you may need to update your caching/locking/refreshing policies as the ClientSession does not have any caching. Only the UOW and the ServerSession cache data.
If you have any more questions you should post on the EclipseLink User mailing list.
--Gordon Yorke
Gordon Yorke
2009-12-07 16:10:51