ObjectDB ObjectDB

Internal Website Search

1-10 of 33 resultsRefresh
378

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
39

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
30

Strings in JPQL and Criteria Queries

, param); Predicate l2 = cb.like(path, "a%"); Predicate l3 = cb.notLike(path, param); Predicate ... ]) Expression<Integer> l1 = cb.locate(path, param); Expression<Integer> l2 = cb.locate(path, "x
30

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 ... The purpose of the L2 cache is to improve performance mainly by minimizing client server round trips
30

evictAll() behavior

the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction ... in JDO is a bit tricky. pmf.getDataStoreCache().evictAll() clears the L2 cache. pm.evictAll() clears ... / characteristics of the L1 versus L2 cache? I presume L1 is only maintained for a transaction
28

OptimisticLockException

Moshal You can disable the L2 cache (or empty it with evict) and empty the EntityManager (L1) cache ... locks: a) is the object is globally locked at the database when retrieved from L2 cache ? b ... ) Is there no way to automatically refresh objects in the L2 cache? dmoshal David Moshal so far the following
26

IN expression in a Criteria Query

it is throwing: com.objectdb.o.UserException: Unexpected query token ':l2' Does anybody have any idea ... query token ':l2' com.objectdb.o.MSG.d(MSG.java:61) com.objectdb.o.TKN.J(TKN.java:765) com ... ">                     <token name="l2" code="1" postion="104:106" />                 </token
21

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
21

Retrieving JPA Entity Objects

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

ObjectDB Object Database Features

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support