Skip to main content



      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 13:23 Go to next message
Eclipse UserFriend
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 15:32 Go to previous message
Eclipse UserFriend
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: Sat Jul 12 17:29:47 EDT 2025

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

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

Back to the top