ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.Timeout.seconds(int)

Jakarta Persistence (JPA) Method in jakarta.persistence.Timeout Timeout seconds (    int seconds ) Specify a timeout in seconds . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.LocalDateTimeField.SECOND

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalDateTimeField SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.LocalTimeField.SECOND

Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalTimeField SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second Since: Jakarta Persistence (JPA) 1.0

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

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 cache

Enforce 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);

jakarta.persistence.criteria.CriteriaBuilder

, Expression y ) Create a predicate for testing whether the first argument is between the second ... a predicate for testing whether the first argument is between the second and third arguments in value ... except ( CriteriaSelect left , CriteriaSelect right ) Create a query by (setwise) subtraction of the second

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

jakarta.persistence.EntityManager

of the persistence context (or first-level cache) with the second -level cache, if any, may be controlled by ... denote an entity type or if the second argument is not a valid type for that entity's primary key or ... . Throws: IllegalArgumentException - if the first argument does not denote an entity type or if the second

jakarta.persistence.Timeout

s ( int seconds ) Specify a timeout in seconds . (Abbreviation of seconds .) Since: Jakarta Persistence (JPA) 1.0 Timeout seconds ( int seconds ) Specify a timeout in seconds . Since: Jakarta

jakarta.persistence.CacheStoreMode

, Constable , Comparable , Serializable Specifies how the EntityManager interacts with the second -level cache ... 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 to the second -level cache

jakarta.persistence.EntityManagerFactory

, an instance of Cache , allowing direct programmatic control over the second -level cache ... factory (the " second level cache"). Returns: an instance of Cache , or null if there is no second

jakarta.persistence.criteria.LocalTimeField

of the hour, numbered from 0 to 59. Since: Jakarta Persistence (JPA) 1.0 SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second

jakarta.persistence.criteria.LocalDateTimeField

. Since: Jakarta Persistence (JPA) 1.0 SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second Since: Jakarta Persistence (JPA) 1.0 TIME The time

jakarta.persistence.CacheRetrieveMode

, Comparable , Serializable Specifies how the EntityManager interacts with the second -level cache when data ... 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 jakarta.persistence.cache

jakarta.persistence.EntityTransaction

, in seconds . This is a hint. Parameters: timeout - the timeout, in seconds , or null to indicate

jakarta.persistence.Column

of decimal digits to use for storing fractional 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

jakarta.persistence.Cache

Jakarta Persistence (JPA) Interface jakarta.persistence.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: Jakarta Persistence (JPA) 2.0 The Shared (L2

jakarta.persistence.Timeout.s(int)

Jakarta Persistence (JPA) Method in jakarta.persistence.Timeout Timeout s (    int seconds ) Specify a timeout in seconds . (Abbreviation of Timeout. seconds .) Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityTransaction.setTimeout(Integer)

Jakarta Persistence (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: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityManagerFactory.getCache()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Cache getCache() Access the cache that is associated with the entity manager factory (the " second level cache"). Returns: an instance of Cache , or null if there is no second -level cache in use. Throws

jakarta.persistence.criteria.CriteriaBuilder.except(CriteriaSelect,CriteriaSelect)

(setwise) subtraction of the second query from the first query. Returns: a new criteria query which returns the result of subtracting the results of the second query from the results of the first query. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.CriteriaBuilder.exceptAll(CriteriaSelect,CriteriaSelect)

(setwise) subtraction of the second query from the first query, without elimination of duplicate results. Returns: a new criteria query which returns the result of subtracting the results of the second

jakarta.persistence.Column.secondPrecision

Jakarta Persistence (JPA) Method in jakarta.persistence.Column int secondPrecision (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

jakarta.persistence.TypedQuery

of property or hint Returns: the same query instance. Throws: IllegalArgumentException - if the second

jakarta.persistence.Query

- if the second argument is not valid for the implementation. Since: Jakarta Persistence (JPA) 1.0 Query

jakarta.persistence.StoredProcedureQuery

Returns: the same query instance. Throws: IllegalArgumentException - if the second argument is not valid

jakarta.persistence.SharedCacheMode

Jakarta Persistence (JPA) Enum jakarta.persistence.SharedCacheMode java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.SharedCacheMode Implemented Interfaces: Constable , Comparable , Serializable Specifies how the provider must use a second -level cache for the persistence unit. Corresponds

jakarta.persistence.TypedQuery.setHint(String,Object)

: the same query instance. Throws: IllegalArgumentException - if the second argument is not valid for the implementation. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.setProperty(String,Object)

: IllegalArgumentException - if the property or hint name is recognized by the implementation, but the second argument

jakarta.persistence.criteria.CriteriaBuilder.power(Expression,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression power (    Expression x ,    Expression y ) Create an expression that returns the first argument raised to the power of its second argument. Parameters: x - base y - exponent Returns

jakarta.persistence.criteria.CriteriaBuilder.power(Expression,Number)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression power (    Expression x ,    Number y ) Create an expression that returns the first argument raised to the power of its second argument. Parameters: x - base y - exponent Returns

jakarta.persistence.criteria.CriteriaBuilder.round(Expression,Integer)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression round (    Expression x ,    Integer n ) Create an expression that returns the first argument rounded to the number of decimal places given by the second argument. Parameters: x - base n

jakarta.persistence.criteria.CriteriaBuilder.between(Expression,Y,Y)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate between (    Expression v ,    Y x ,    Y y ) Create a predicate for testing whether the first argument is between the second and third arguments in value. Parameters: x - value

jakarta.persistence.criteria.CriteriaBuilder.gt(Expression,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate gt (    Expression x ,    Expression y ) Create a predicate for testing whether the first argument is greater than the second . Parameters: x - expression y - expression Returns: greater-than predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.gt(Expression,Number)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate gt (    Expression x ,    Number y ) Create a predicate for testing whether the first argument is greater than the second . Parameters: x - expression y - value Returns: greater-than predicate. Since: Jakarta Persistence (JPA) 1.0

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