Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Isolated L1 cache lifetime with no @Transactional boundary
Isolated L1 cache lifetime with no @Transactional boundary [message #1740250] Wed, 10 August 2016 17:23 Go to next message
Dave Brosius is currently offline Dave BrosiusFriend
Messages: 23
Registered: July 2009
Junior Member
If i have an entity configured to use an Isolated cache, and am reading objects of that type without having a spring @Transactional annotation explicitly managing the transaction, how long does that cache live for, ie when are those entities gc'ed?
Re: Isolated L1 cache lifetime with no @Transactional boundary [message #1741078 is a reply to message #1740250] Mon, 22 August 2016 19:32 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1300
Registered: July 2009
Senior Member
When is your EntityManager GC'd? By default, the EntityManager will keep a reference to all managed entities - anything read from it - and so they cannot be collected unless you occasionally clear the EntityManager or it is itself garbage collected.
Previous Topic:Moxy reading in a stream of a large JSON file object by object.
Next Topic:Cursor in Eclipselink lazy loading
Goto Forum:
  


Current Time: Fri Sep 21 01:52:09 GMT 2018

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

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

Back to the top