ObjectDB Database Search
1-50 of 200 resultsjakarta.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
|
|
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
|
|
Date and Time in JPQL and Criteria Queries
, MONTH , DAY , HOUR , MINUTE , and SECOND parts from a date or time value. For example: YEAR({d '2011 ... ({t '23:59:00'}) returns 23 . MINUTE({t '23:59:00'}) returns 59 . SECOND ({t '23:59:00'}) returns 0 ... ", Integer.class, time); Expression minute = cb. function ("minute", Integer.class, time); Expression second = cb. function (" second ", Integer.class, ts);
|
|
JPA Core Types
back transactions. Utilities and Caching Access metadata, manage schema, and interact with the second -level ... to manipulate database structures at runtime or during testing. The interface for interacting with the second ... for entities within the persistence unit. This determines which entities are stored in the second -level
|
|
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 form of the query, which uses a join variable, is preferred. Besides being shorter and cleaner, the second query describes
|
|
JPA Class Enhancer
a second argument: com.objectdb.Enhancer.enhance( "test.pc.*,test.X", text.X.class.getClassLoader ... later (and not on JRE 6, for example). Second , classes that are loaded into the JVM before ObjectDB
|
|
SELECT clause (JPQL / Criteria API)
( c.name ), and the second is the capital city name ( c.capital.name ). The following code
|
|
Database Transaction Replayer
.objectdb.Replayer my.odb 1000 When you specify a transaction ID as a second argument, the Replayer
|
|
Strings in JPQL and Criteria Queries
( % ) is a wildcard. The second , which follows the escape character, represents a literal % character. LENGTH
|
|
JPA Criteria Query Date/Time Extraction
, and java.sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable
|
|
WHERE clause (JPQL / Criteria API)
. get ("population"), p)); Multiple restrictions The second where method takes a variable number of Predicate
|
|
Database Doctor
. The second argument ( new.odb ) is the path for the new database file that the ObjectDB Doctor generates.
|
|
JPA Runtime Tuning & Configuration
to find() and lock() . Cache retrieve mode Controls whether data is read from the second -level cache: USE
|
|
Query Parameters in JPA
is constructed for each execution. Second , embedding strings in queries is unsafe and can expose
|
|
JPA Connections and Transactions
of persistence unit properties as a second parameter: Map properties = new HashMap (); properties
|
|
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 ... : IllegalArgumentException - if the first argument does not denote an entity type or if the second
|
|
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.TypedQuery
of property or hint Returns: the same query instance. Throws: IllegalArgumentException - if the second
|
|
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
|
|
jakarta.persistence.criteria.CriteriaBuilder.ge(Expression,Expression)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate ge ( Expression x , Expression y ) Create a predicate for testing whether the first argument is greater than or equal to the second . Parameters: x - expression y - expression
|
|
jakarta.persistence.criteria.CriteriaBuilder.lessThan(Expression,Y)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lessThan ( Expression x , Y y ) Create a predicate for testing whether the first argument is less than the second . Parameters: x - expression y - value Returns: less-than predicate. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.CriteriaBuilder.lessThanOrEqualTo(Expression,Expression)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lessThanOrEqualTo ( 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
|
|
jakarta.persistence.criteria.CriteriaBuilder.lessThanOrEqualTo(Expression,Y)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lessThanOrEqualTo ( Expression x , Y y ) Create a predicate for testing whether the first argument is less than or equal to the second . Parameters: x - expression y - value Returns
|
|
jakarta.persistence.criteria.CriteriaBuilder.between(Expression,Expression,Expression)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate between ( Expression v , Expression x , Expression y ) Create a predicate for testing whether the first argument is between the second and third arguments in value
|
|
jakarta.persistence.criteria.CriteriaBuilder.le(Expression,Number)
Jakarta Persistence (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 Returns
|
|
jakarta.persistence.criteria.CriteriaBuilder.ge(Expression,Number)
Jakarta Persistence (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 Returns
|
|
[ODB1] Chapter 6 - Persistent Objects
for database objects. The first method, object IDs, is supported by JDO. The second method, object ... of the first object in the database is always 1, the ID of the second object is 2 ... can be retrieved simply by: Person person = (Person)pm.getObjectById(oid, false); The second argument
|
|
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
|
|
[ODB1] Chapter 2 - A Quick Tour
of the second run is expected to be: Hello World 0 Hello World 1 After two runs, the database contains ... ). You can ignore the second argument of the getObjectById( ... ) method that is discussed in section 6.3 ... are represented in JDO by an Extent instance (line 40). The second argument of the getExtent( ... ) method
|
|
[ODB1] Chapter 8 - ObjectDB Server
. The reload attribute specifies how often (in seconds ) the server checks the configuration file for changes. For instance, a value of 30 (as specified above) indicates a check every 30 seconds . If a change ... . It specifies the maximum allowed connection inactivity time (in seconds ). If a connection
|
|
[ODB1] Chapter 9 - ObjectDB Explorer
filter and also when you fill the ordering field in the query form. The second tab window is filled
|