Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » [CACHE L2] object result of find operation is not saved in cache L2 ???(cache l2 is activated. and User is cachable.)
[CACHE L2] object result of find operation is not saved in cache L2 ??? [message #1155038] Fri, 25 October 2013 12:48 Go to next message
Eclipse UserFriend
Hi
Env :
Oracle 11.2
EclipseLink 2.5 (cache L2 [true], dcn listener on oracle event is used )
Tomcat 7
Windows.


I notice that after find operation on class User (cachable true) with primary key , eclipselink don't create any entry cache for my find result .


Why ?? in wich cases we can have this behavor ?


Thx.
Re: [CACHE L2] object result of find operation is not saved in cache L2 ??? [message #1164159 is a reply to message #1155038] Thu, 31 October 2013 09:23 Go to previous messageGo to next message
Eclipse UserFriend
How are you checking there is no entry? EclipseLink might bypass the shared cache when reading from a transaction, to avoid polluting the shared cache with uncommitted data.
icon7.gif  Re: [CACHE L2] object result of find operation is not saved in cache L2 ??? [message #1185964 is a reply to message #1164159] Thu, 14 November 2013 06:31 Go to previous message
Eclipse UserFriend
the cache wasn't used by eclipselink at the read operation
because spring dialect jpa force eclipselink to open jdbc connection
on read operation.

look at spring jira :
Spring Framework SPR-7753
Spring disables shared cache in EclipseLink
Previous Topic:Convert ?=call storedproc(?,?,?) to JPA
Next Topic:EclipseLink & Websphere cluster & Oracle 11g2 DCN
Goto Forum:
  


Current Time: Sun Jul 06 15:01:54 EDT 2025

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

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

Back to the top