Home » Search

About L2

1-10 of 23Refresh
Manual
415

Shared (L2) Entity Cache

is one EntityManager. This section describes a level 2  (L2) cache of entity objects, which is managed ... to the EntityManager's L1 cache and the EntityManagerFactory's L2 cache, which are managed ... The shared (L2) cache is configured in three scopes: Globally in the ObjectDB configuration
Issue
37

JQL-Update Queries fails with activated L2-Cache

a container the updated Entities. Scenario 1: Disabled L2 Cache, updating elements using UPDATE-Query ... database - Actual result: No changes are visble. Scenario 2: Disabled L2 Cache, updating elements using ... a mystery why ".clear()" has to be called. Scenario 3: Enabled L2 Cache, updating elements using UPDATE
Manual
31

Strings in JPQL and Criteria Queries

, param); Predicate l2 = cb.like(path, "a%"); Predicate l3 = cb.notLike(path, param); Predicate ... ]) Expression l1 = cb.locate(path, param); Expression l2 = cb.locate(path, "x
Result
22

ObjectDB Object Database Features

and timeout. Caching L1 entity object cache (per EntityManager). L2 shared entity data cache
Manual
22

Retrieving JPA Entity Objects

with data that is retrieved from the database (or from the L2 cache - if enabled). The new entity object
Manual
22

Setting and Tuning of JPA Queries

). This could be useful when the shared L2 cache is enabled and entity objects may already be available in
Forum
6

Level 2 cache not hit in @ManyToOne

my app). "user" should also be taken from L2 cache, shouldn't it? Otherwise...it's a huge performance ... . Shouldn't just 6 and 7 be returned fresh (the first time, then loaded from L2 Cache each time)? I didn't encounter P1 and 2 while using EclipseLink & MySQL. Thanks in advance.   The purpose of the L2
Forum
6

evictAll() behavior

the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction ... .getDataStoreCache().evictAll() clears the L2 cache. pm.evictAll() clears the persistence manager ... the effect I am looking for. What is the difference / characteristics of the L1 versus L2 cache?  I
Forum
5

OptimisticLockException

any object before I modify it??   You can disable the L2 cache (or empty it with evict) and empty ... is globally locked at the database when retrieved from L2 cache ? b) If process B attempts to modify ... refresh objects in the L2 cache?     so far the following works for me: 1) standard config file
Forum
5

IN expression in a Criteria Query

it is throwing: com.objectdb.o.UserException: Unexpected query token ':l2' Does anybody have any idea ... . Here is complete stack trace: com.objectdb.o.UserException: Unexpected query token ':l2' com.objectdb.o ... =":" code="7" postion="103:104">