Home » Search

About SECOND

1-10 of 200 Refresh
Manual
88

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
30

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
30

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
29

Enforce Second Level cache

Enforce Second Level cache
JPA Doc
16

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
16

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
16

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
13

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

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
13

JPA / JDO Class Enhancer

a second argument: com.objectdb.Enhancer.enhance( "test.pc.*,test.X", text.X.class.getClassLoader ... above. First, currently it only works on Sun JDK 6 (and not on JRE 6 for example). Second, classes