ObjectDB Database Search

51-100 of 200 results

FROM clause (JPQL / Criteria API)

earlier in the FROM clause. Join variables can also be bound to a single value path expression ... to a single value expression are less commonly used because usually they can be replaced by a simpler ... outer variable value (e.g. any Country ) that has no matching inner variable (e.g. a Capital

Database Explorer

a single object, every column represents a persistent field, and the content of a cell is the value ... is represented by a tree node and the values of its persistent fields are represented as child nodes. Tree ... entity objects. Editing Values and References You can edit simple field values inline in the Tree

Database Schema Evolution

entity object is initialized using the value of the matching old field in the original entity object ... with default values ( 0 , false or null ). Fields in the old schema that do not have matching fields in ... with a default value ( 0 , false or null ). The following type conversions are supported: From any numeric

Entity Management Settings

The element specifies enhancement related settings: The agent attribute (whose value is "true" or "false ... . The possible values of the reflection attribute represent different policies: "error" - all persistable ... (which serves as a first level cache). The valid values are "weak" , "soft " and "strong ". Modified

jakarta.persistence.criteria.CriteriaBuilder

an expression that returns the absolute value of its argument. Parameters: x - expression Returns: absolute value . Since: Jakarta Persistence (JPA) 1.0 Expression all ( Subquery subquery ) Create ... . Since: Jakarta Persistence (JPA) 1.0 CompoundSelection array ( Selection ... selections ) Create an array- valued

jakarta.persistence.StoredProcedureQuery

may be controlled in accordance with the following: The setParameter methods are used to set the values of all required IN and INOUT parameters. It is not required to set the values of stored procedure parameters for which default values have been defined by the stored procedure. When getResultList

Literals in JPQL and Criteria Queries

Literals in JPQL, as in Java, represent constant values . JPQL supports various types of literals ... (e.g. 'abc' ), enum literals (e.g. mypackage.MyEnum.MY_ VALUE ) and entity type literals (e.g. Country ... parameter values . Literals should only be embedded in JPQL queries when a single constant value

Shared (L2) Entity Cache

the cache a positive value has to be specified. Persistence Unit Settings The shared cache ... to one of the following values : NONE - cache is disabled. ENABLE_SELECTIVE - cache is disabled ... . UNSPECIFIED - handled differently by different JPA providers. In ObjectDB the UNSPECIFIED value

Paths and Types in JPQL and Criteria API

. But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean, string, date). Simple type values are more useful in queries. They have special operators ... and values . For example - c.capital , where c represents a Country entity object uses the capital

SELECT clause (JPQL / Criteria API)

path expressions , such as c.name , in query results is referred to as projection. The field values ... of the above query are received as a list of String values : TypedQuery query = em. createQuery ( "SELECT ... value path expressions can be used in the SELECT clause. Collection and map fields cannot be included

Chapter 6 - Configuration

directory. ObjectDB Home ($objectdb) The value of $objectdb (the ObjectDB home directory ... changes the value of $objectdb . For example, in a web application, in which objectdb.jar is located in ... " ... If a configuration file is not found default values are used. General Configuration Considerations The following

jakarta.persistence.TypedQuery

query. PersistenceException - if the query execution exceeds the query timeout value set ... execution exceeds the query timeout value set and only the statement is rolled back. Since: Jakarta ... and associated values that are in effect for the query instance. Inherited from Query Returns: query

jakarta.persistence.Query

value set and the transaction is rolled back. TransactionRequiredException ... - if the statement execution exceeds the query timeout value set and only the statement is rolled ... () Get the properties and hints and associated values that are in effect for the query instance

jakarta.persistence.criteria.MapJoin

: - the source type of the join - the type of the target Map value - the type of the target Map key Super ... Persistence (JPA) 1.0 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested

jakarta.persistence.criteria.PluralJoin

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression ... Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal

jakarta.persistence.criteria.Root

of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ... Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test

jakarta.persistence.criteria.SetJoin

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression ... equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.CollectionJoin

basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create ... : value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression

jakarta.persistence.criteria.ListJoin

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression ... Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal

jakarta.persistence.criteria.From

) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested ... ( Object value ) Create a predicate to test whether the expression is equal to the argument. Inherited

jakarta.persistence.criteria.Join

of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ... Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test

Strings in JPQL and Criteria Queries

String values may appear in JPQL queries in various forms: as  string literals - e.g. 'abc' , ''. as parameters - when string values are assigned as arguments. as  path expressions - in ... for 'Denmark' c.name LIKE '%' is always TRUE (for any c.name value ). c.name NOT LIKE '%' is always FALSE

Schema Update

the required name attribute, to the new name. The value of the name attribute must be unqualified (with no package name) because the package name is already specified in the containing element. The value ... ) the new-name value of the containing element is used, if it exists, or if no new-name is specified

Server User List

. For example, a value "192.18.0.0-192.18.194.255,127.0.0.1" allows connecting from any IP address in the range of 192.18.0.0 to 192.18.194.255 , as well as from 127.0.0.1 . The admin attribute (whose value ... server settings using the ObjectDB Explorer . A value of "$default" for the username attribute

jakarta.persistence.metamodel.IdentifiableType

CollectionAttribute getCollection ( String name , Class elementType ) Return the Collection- valued attribute ... the Collection- valued attribute of the managed type that corresponds to the specified name. Inherited from ... the Collection- valued attribute declared by the managed type that corresponds to the specified name

jakarta.persistence.metamodel.EntityType

CollectionAttribute getCollection ( String name , Class elementType ) Return the Collection- valued ... ) Return the Collection- valued attribute of the managed type that corresponds to the specified name ... elementType ) Return the Collection- valued attribute declared by the managed type that corresponds

jakarta.persistence.metamodel.ManagedType

CollectionAttribute getCollection ( String name , Class elementType ) Return the Collection- valued attribute ... Persistence (JPA) 1.0 CollectionAttribute getCollection ( String name ) Return the Collection- valued ... the Collection- valued attribute declared by the managed type that corresponds to the specified name

jakarta.persistence.metamodel.EmbeddableType

elementType ) Return the Collection- valued attribute of the managed type that corresponds ... CollectionAttribute getCollection ( String name ) Return the Collection- valued attribute of the managed type ... getDeclaredCollection ( String name , Class elementType ) Return the Collection- valued attribute declared by

jakarta.persistence.metamodel.MappedSuperclassType

CollectionAttribute getCollection ( String name , Class elementType ) Return the Collection- valued ... the Collection- valued attribute of the managed type that corresponds to the specified name. Inherited ... ) Return the Collection- valued attribute declared by the managed type that corresponds to the specified

ObjectDB Object Database Features

). Map keys and values are indexable. Nested paths inside embedded objects are indexable. Indices ... .lang.BigDecimal. Auto Value Generation Modes (for primary Key fields) Database IDs - automatic ... defined sequences. Application IDs - primary key values are set explicitly by the application. Query

jakarta.persistence.criteria.CriteriaBuilder.In

type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate ... : value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

that returns null if all its arguments evaluate to null, and the value of its first non-null argument ... Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested

jakarta.persistence.criteria.Path

( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate

Setting and Tuning of JPA Queries

to be visible to the query. Flush policy in JPA is represented by the FlushModeType enum, which has two values ... ="javax.persistence.query.timeout",      value ="7000")}) For a specific query

JPA Query Structure (JPQL / Criteria)

rather than just field values from database tables, as with SQL. That makes JPQL more object oriented friendly ... , string literals are also case sensitive (e.g. "ORM" and "orm" are different values ). A Minimal JPQL

Defining a JPA Entity Class

of the point in the plane). It is the values of these fields that are stored in the database ... primary keys and automatic sequential value generation . This is a very powerful feature of ObjectDB that is absent from other object oriented databases.

JPA Metamodel API

 and its descendant interfaces: SingularAttribute  - represents single value attributes. PluralAttribute  is an ancestor of interfaces that represent multi value attributes

Online Backup

, the backup target could be specified as a String value : Query backupQuery = em.createQuery("objectdb ... is specified as a value for the target parameter it represents a path relative to the ObjectDB home

ORDER BY clause (JPQL / Criteria API)

whose type is comparable (i.e. numbers, strings and date values ) and is derived from the SELECT ... for which all the previous order expressions produce the same values . The following query returns

jakarta.persistence.criteria.Subquery

distinct ) Specify whether duplicate query results are eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified ... of the corresponding AbstractQuery method. Overrides AbstractQuery.distinct Parameters: distinct - boolean value

jakarta.persistence.criteria.CriteriaUpdate

the value of the version column, if desired, and/or manually validate the value of the version column ... Persistence (JPA) 1.0 CriteriaUpdate set ( SingularAttribute attribute , X value ) Update the value of the specified attribute. Parameters: attribute - attribute to be updated value - new value Returns

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression ... Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal

jakarta.persistence.criteria.ParameterExpression

of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ... Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test

jakarta.persistence.criteria.CriteriaBuilder.Case

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested ... equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.Predicate

equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value

jakarta.persistence.criteria.Expression

(JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create

jakarta.persistence.Convert

: Annotation Target: Method, Field, Type Specifies how the values of a field or property are converted ... to the keys or values of the map, or to the specified attribute of the embeddable instances contained ... in the attributeName element to indicate an attribute within an embedded attribute. The value

Step 4: Add a Controller Class

public class GuestController { @Autowired private GuestDao guestDao; @RequestMapping( value ="/guest ... a request attribute (whose name is "guestDao" and its value is guestDao ). The next step is 

Step 4: Add a Controller Class

{ @Autowired private GuestDao guestDao; @RequestMapping( value ="/guest") public ModelAndView guestbook ... is "guestDao" and its value is guestDao ). The next step is adding a JSP page that will serve as

Step 4: Create an ObjectDB Data Set

value in a specified range: SELECT p.x as x, p.y as y FROM Point p WHERE p.x BETWEEN :low AND :high Use ... successfully - a new window appears. In the Parameters list specify default values for low   ( 11