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: 1288
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:Cursor in Eclipselink lazy loading
Next Topic:Embeddable mapping issues
Goto Forum:

Current Time: Sun Mar 18 04:18:10 GMT 2018

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

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