About SECOND

1-10 of 200Refresh
Manual
92

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);
Forum
33

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
32

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
32

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
30

Enforce Second Level cache

Enforce Second Level cache
JPA Doc
19

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
19

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

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

JPA / JDO Class Enhancer

addition, a class loader for loading classes for enhancement can be specified as a second argument ... it only works on Sun JDK 6 or above (and not on JRE 6 for example). Second, classes that are loaded into
Manual
15

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