Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Isolated Client Session per Request(EclipseLink Client Sessions - Isolated cache)
Isolated Client Session per Request [message #659819] Tue, 15 March 2011 17:37
Steve Willcox is currently offline Steve WillcoxFriend
Messages: 4
Registered: July 2009
Junior Member
Isolated client sessions can be created by setting a class's descriptor => descriptor.setIsIsolated(true);

Is it possible to create an isolated client session for all classes dynamically based on some condition (per thread)?

For example, some web requests based on a condition would create a isolated client session for all classes used in that request where all reads would read into the identity maps of the isolated cache and other web requests not meeting that condition would not be isolated and use the normal parent's shared cache to store read objects.
Previous Topic:eclipselink + JPA + Postgresql - is possible embedded ?
Next Topic:MOXy 2.2.0 and CDATA
Goto Forum:
  


Current Time: Fri Dec 19 21:15:03 GMT 2014

Powered by FUDForum. Page generated in 0.04289 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software