About SECOND

1-10 of 200Refresh
Forum
37

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
Forum
36

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

.bl.impl.RequirementImpl9 Why the second mapping-file is ignored?   The unit test has following result ... how you invoke the Enhancer. Do you use the -pu option to specify a persistence unit in which the second
Forum
36

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
Forum
35

Enforce Second Level cache

Enforce Second Level cache
Manual
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 ... ("minute", Integer.class, time); Expression second = cb.function("second", Integer.class, ts);
JPA Doc
15

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
JDO Doc
14

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
JDO Doc
14

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
Manual
11

Index Definition

SELECT p FROM Point p WHERE p.x = 100 AND p.y BETWEEN 50 AND 80 For the second query above, the index order should be x first and y second. Indexes on collections are useful in JOIN queries
Manual
11

FROM clause (JPQL / Criteria API)

, which has two range variables and a WHERE clause. However, this second query form that uses a join variable is preferred. Besides being shorter and cleaner, the second query describes the right and efficient