ObjectDB Database Search
1-50 of 200 resultsTimeout.seconds(seconds) - JPA Static Method JPA Static Method in jakarta.persistence.Timeout Timeout seconds ( int seconds ) Specify a timeout in seconds . Since: JPA 3.2 | |
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 | |
Timeout.s(seconds) - JPA Static Method JPA Static Method in jakarta.persistence.Timeout Timeout s ( int seconds ) Specify a timeout in seconds . (Abbreviation of seconds .) Since: JPA 3.2 | |
FieldRef jakarta.persistence.criteria.LocalDateTimeField | |
FieldRef jakarta.persistence.criteria.LocalTimeField | |
a second mapping-file is ignored in persistence.xml by enhancer Why the second mapping-file is ignored? The unit test has following result, because not ... how you invoke the Enhancer. Do you use the -pu option to specify a persistence unit in which the second orm | |
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 | |
Enforce Second Level cacheEnforce Second Level cache | |
Date and Time in JPQL and Criteria Queries , HOUR , MINUTE and SECOND . For example: YEAR({d '2011-12-31'}) is evaluated to 2011 . MONTH({d ... '}) is evaluated to 23 . MINUTE({t '23:59:00'}) is evaluated to 59 . SECOND ({t '23:59:00'}) is evaluated ... = cb. function ("minute", Integer.class, time); Expression second = cb. function (" second ", Integer.class, ts); | |
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 way | |
JPA Class Enhancer for loading classes for enhancement can be specified as a second argument: com.objectdb.Enhancer ... 6 or above (and not on JRE 6 for example). Second , classes that are loaded into the JVM before | |
Locking in JPA argument is an entity object. The second argument is the requested lock mode ... (on the second lock request). Pessimistic Lock Timeout By default, when a pessimistic lock conflict | |
SELECT clause (JPQL / Criteria API) Object[] element is 2. The first array cell contains the country name ( c.name ) and the second array | |
Database Transaction Replayer When a transaction ID is specified as a second argument the Replayer applies recorded operations | |
Strings in JPQL and Criteria Queries above only the first percent character ( % ) is a wildcard. The second (which appears after the escape character | |
WHERE clause (JPQL / Criteria API).class); q. where (cb. gt (c. get ("population"), p)); Multiple Restrictions The second where method | |
Database Doctor ( old.odb above) is the path to the original (corrupted) database file. The second argument ( new.odb | |
Database Connection using JPA of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Map properties | |
GROUP BY and HAVING clauses the initial letter as a String object, the second cell contains the number of countries in | |
General Settings and Logging in seconds , where 0 indicates never (no inactivity timeout). The inactivity timeout (when 0 | |
JPA Primary Key key of the second entity object is 2, etc. Primary key values are not recycled when entity objects | |
InterfaceRef jakarta.persistence.criteria.CriteriaBuilder whether the first argument is between the second and third arguments in value. Parameters: v - expression x ... is between the second and third arguments in value. Parameters: v - expression x - value y - value ... of the second query from the first query. Return: a new criteria query which returns the result | |
InterfaceRef jakarta.persistence.EntityManager-level cache) with the second -level cache, if any, may be controlled by calling setCacheRetrieveMode ... if the second argument is not a valid type for that entity's primary key or is null Since: JPA 1.0 T find ... to the persistence unit, or if the second argument is not a valid non-null instance of the entity primary key type | |
ClassRef jakarta.persistence.Timeout; seconds ) Specify a timeout in seconds . (Abbreviation of seconds .) Since: JPA 3.2 Timeout seconds (int seconds ) Specify a timeout in seconds . Since: JPA 3.2 | |
EnumRef jakarta.persistence.CacheStoreMode interacts with the second -level cache when data is read from the database and when data is written to the database. USE indicates that data may be written to the second -level cache. BYPASS indicates that data may not be written to the second -level cache. REFRESH indicates that data must be written | |
Step 6: Design a BIRT Report Table the data set in the [Data Explorer] window (under the data set node) and dropping them on the second | |
ClassRef jakarta.persistence.criteria.LocalDateTimeField. Since: JPA 3.2 QUARTER The calendar quarter, numbered from 1 to 4. Since: JPA 3.2 SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second | |
InterfaceRef jakarta.persistence.EntityManagerFactory programmatic control over the second -level cache, may be obtained by calling () , the CriteriaBuilder , used ... that is associated with the entity manager factory (the " second level cache"). Return: an instance of {@link Cache} , or null if there is no second -level cache in use Throws: IllegalStateException | |
ClassRef jakarta.persistence.criteria.LocalTimeField. Since: JPA 3.2 SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second Since: JPA 3.2 | |
EnumRef jakarta.persistence.CacheRetrieveMode with the second -level cache when data is read from the database via the EntityManager.find methods and execution of queries. USE indicates that data may be read from the second -level cache. BYPASS indicates that data may not be read from the second -level cache. Enumerates legal values of the property | |
InterfaceRef jakarta.persistence.EntityTransaction the transaction timeout, in seconds . This is a hint. Parameters: timeout - the timeout, in seconds , or | |
AnnotationAttrRef jakarta.persistence.Column.secondPrecision JPA Annotation Attribute in jakarta.persistence.Column int secondPrecision default -1 (Optional) The number of decimal digits to use for storing fractional seconds in a SQL time or timestamp column ... seconds should not be stored in a time column, or that the maximum number of digits supported by | |
EntityManagerFactory.getCache() - JPA Method JPA Method in jakarta.persistence.EntityManagerFactory Cache getCache () Access the cache that is associated with the entity manager factory (the " second level cache"). Return: an instance of {@link Cache} , or null if there is no second -level cache in use Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0 | |
EntityTransaction.setTimeout(timeout) - JPA Method JPA Method in jakarta.persistence.EntityTransaction void setTimeout ( Integer timeout ) Set the transaction timeout, in seconds . This is a hint. Parameters: timeout - the timeout, in seconds , or null to indicate that the database server should set the timeout Since: JPA 3.2 | |
AnnotationRef jakarta.persistence.Column seconds in a SQL time or timestamp column. Applies only to columns of time or timestamp type. The default value -1 indicates that fractional seconds should not be stored in a time column, or | |
InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo the specification of how the provider must use a second -level cache for the persistence unit. The result of this method corresponds to the shared-cache-mode element in the persistence.xml file. Return: the second | |
CriteriaBuilder.exceptAll(left,right) - JPA Method (setwise) subtraction of the second query from the first query, without elimination of duplicate results. Return: a new criteria query which returns the result of subtracting the results of the second query from the results of the first query Since: JPA 3.2 | |
CriteriaBuilder.except(left,right) - JPA Method) subtraction of the second query from the first query. Return: a new criteria query which returns the result of subtracting the results of the second query from the results of the first query Since: JPA 3.2 | |
PersistenceUnitInfo.getSharedCacheMode() - JPA Method JPA Method in jakarta.persistence.spi.PersistenceUnitInfo SharedCacheMode getSharedCacheMode () Returns the specification of how the provider must use a second -level cache for the persistence unit ... . Return: the second -level cache mode that must be used by the provider for the persistence unit Since: JPA 2.0 | |
InterfaceRef jakarta.persistence.Cache JPA Interface Cache Interface used to interact with the second -level cache. If no second -level cache is in use, the methods of this interface have no effect, except for contains , which returns false. Since: JPA 2.0 The Shared (L2) Entity Cache article explains how to use Cache . Public Methods | |
Query.setHint(hintName,value) - JPA Method instance Throws: IllegalArgumentException - if the second argument is not valid for the implementation Since: JPA 1.0 | |
InterfaceRef jakarta.persistence.Query - if the second argument is not valid for the implementation Since: JPA 1.0 Query setLockMode ( LockModeType   | |
CriteriaBuilder.le(x,y) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate le ( Expression x, Number y ) Create a predicate for testing whether the first argument is less than or equal to the second . Parameters: x - expression y - value Return: less-than-or-equal predicate Since: JPA 2.0 | |
CriteriaBuilder.le(x,y) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate le ( Expression x, Expression y ) Create a predicate for testing whether the first argument is less than or equal to the second . Parameters: x - expression y - expression Return: less-than-or-equal predicate Since: JPA 2.0 | |
TypedQuery.setHint(hintName,value) - JPA Method instance Throws: IllegalArgumentException - if the second argument is not valid for the implementation Since: JPA 2.0 | |
CriteriaBuilder.lt(x,y) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lt ( Expression x, Expression y ) Create a predicate for testing whether the first argument is less than the second . Parameters: x - expression y - expression Return: less-than predicate Since: JPA 2.0 | |
CriteriaBuilder.lt(x,y) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lt ( Expression x, Number y ) Create a predicate for testing whether the first argument is less than the second . Parameters: x - expression y - value Return: less-than predicate Since: JPA 2.0 | |
CriteriaBuilder.ge(x,y) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate ge ( Expression x, Number y ) Create a predicate for testing whether the first argument is greater than or equal to the second . Parameters: x - expression y - value Return: greater-than-or-equal predicate Since: JPA 2.0 | |
EnumRef jakarta.persistence.SharedCacheMode JPA Enum SharedCacheMode java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.SharedCacheMode Specifies how the provider must use a second -level cache for the persistence unit. Corresponds to the value of the persistence.xml shared-cache-mode element, and returned as the result | |
InterfaceRef jakarta.persistence.TypedQuery - if the second argument is not valid for the implementation Since: JPA 2.0 TypedQuery setLockMode |