ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
168

Distributed second level cache

Is it possible to configure the second level cache as distributed? The use-case: The object Person "John" is read on application node 1 and also on application node 2 to the second level caches. The object Person "John" is changed on application node 1 - name is set to "Jim" - so the second level
165

a second mapping-file is ignored in persistence.xml by enhancer

.impl.RequirementImpl9 Why the second mapping-file is ignored? The unit test has following result ... unit in which the second orm file is defined? If you do, please describe how exactly you invoke
163

Using of Second Level Cache

In our use case we want to find some entity types always again very quickly by primary key or query in many short transactions. The entity MyEntity1 and its relationships to MyEntity2/MyEntity3 was load and the entity MyEntity1 is taken in the second level cache, the other entity types not
159

Enforce Second Level cache

Enforce Second Level cache
16

Date and Time in JPQL and Criteria Queries

, MINUTE and SECOND. For example: YEAR({d '2011-12-31'}) is evaluated to 2011. MONTH({d '2011-12-31 ... . MINUTE({t '23:59:00'}) is evaluated to 59. SECOND({t '23:59:00'}) is evaluated to 0. Date and Time ... .function("minute", Integer.class, time); Expression<Integer> second = cb.function("second", Integer.class, ts);
14

javax.persistence.criteria.CriteriaBuilder

<?> v, Y x, Y y) Create a predicate for testing whether the first argument is between the second ... the second and third arguments in value. Parameters: v - expression x - value y - value Returns: between ... a predicate for testing whether the first argument is between the second and third arguments in
1

[ODB1] Chapter 6 - Persistent Objects

methods for database objects. The first method, object IDs, is supported by JDO. The second method ... . The ID of the first object in the database is always 1, the ID of the second object is 2 ... , false); The second argument of getObjectById(...) indicates whether or not the retrieved object
1

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

support a second-level cache. Since: JDO 2.0 DataStoreCache.EmptyDataStoreCache() Since: JDO 2. Since: JDO 2.0 void evict(Object oid) Evict the parameter instance from the second-level cache. Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance
1

javax.jdo.datastore.DataStoreCache

implementations allow instances to be cached in a second-level cache, and allow direct management ... void evict(Object oid) Evict the parameter instance from the second-level cache. Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict
1

[ODB1] Chapter 2 - A Quick Tour

output. The output of the first run is expected to be: Hello World 0 The output of the second run ... (...) method (line 20). You can ignore the second argument of the getObjectById(...) method that is discussed ... the database are represented in JDO by an Extent instance (line 40). The second argument

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