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:Toplink to eclipselink upgrade issue
Next Topic:NullPointerException in CriteriaQueryImpl when using multiselect
Goto Forum:
  


Current Time: Mon Sep 25 11:50:23 GMT 2017

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

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