ObjectDB Database Search
1-50 of 200 resultsCollections in JPQL and Criteria Queries Collections can appear in JPQL queries in the following ways: As parameters when a collection is passed as an argument. As path expressions when navigating to a persistent collection field. IS [NOT] EMPTY The IS [NOT] EMPTY operator checks whether a specified collection is empty. For example: c | |
jakarta.persistence.criteria.Expression.in(Collection) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Expression Predicate in ( Collection values ) Create a predicate to test whether the expression is a member of the collection . Parameters: values - collection of values to be tested against Returns: predicate testing for membership. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ELEMENT_COLLECTION Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Attribute.PersistentAttributeType ELEMENT_ COLLECTION Element collection Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.PluralAttribute.CollectionType.COLLECTION Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.PluralAttribute.CollectionType COLLECTION Collection -valued attribute Since: Jakarta Persistence (JPA) 1.0 | |
Privacy Policy on the collection , use and disclosure of Your information when You use the Service and tells ... the Service. By using the Service, You agree to the collection and use of information in accordance ... how the Service is used. Usage Data refers to data collected automatically, either generated by | |
JPA Persistable Types`, `Date`, and math types. Multi-value types: Collections , maps, and arrays. Miscellaneous types: Enum ... -value types are persistable: Collection types from the java.util package: ArrayList , Vector , Stack ... `) and non-generic (for example, `ArrayList `) collection and map types are supported, as long as | |
Database Explorer a hash symbol ( # ), for example, Point#1 . Specify a collection as a comma-separated list ... the size of the result collection and the query execution time. If the query compilation fails ... itself is deleted from the database. Editing collections Elements can be added to collections by | |
JPA Metamodel Attributes) with "To-One" cardinality. Plural ( collection ) attributes Collection -valued attributes are represented by the following hierarchy: The base interface for all collection -valued attributes, defining the element type stored within the collection . An enumeration defining the specific type of collection interface used | |
Retrieving JPA Entities through all non- collection and non-map persistent fields, such as one-to-one and many ... { : @ManyToOne ( fetch = FetchType . LAZY ) private Employee manager; : } The default for non- collection ... until they are accessed. Conversely, the default fetch policy for persistent collection and map fields | |
JPA Entity Fields: @OneToOne , @ManyToOne : For references to entity types. @OneToMany , @ManyToMany : For collections and maps ... . Inverse fields are essential for collection fields when using ORM JPA implementations, but not ... when you manage very large collections that change often. This is because a change in the inverse | |
FROM clause (JPQL / Criteria API) only over the neighbors collection for the current c1 . In this case, propagating the WHERE constraint to the FROM ... iteration over specified collections of objects. The following query uses one range variable and one join ... that collection . You might have noticed that this query is equivalent to the previous neighbor query | |
JPA Relationships Annotations attributes (persistent fields or properties) in persistent classes that hold a reference or a collection ... a collection . Defines a single-valued association where multiple entities reference a single target entity ... maintain collections of each other. Note: Unlike other JPA implementations, ObjectDB does not require | |
Running JPA Queries, use the TypedQuery interface, which makes casting unnecessary. A query result collection works like any other Java collection . For example, you can iterate over a result collection ... result object. However, you must then extract the object from the result collection , for example, by | |
JPA ORM Mapping Annotations: Specifies a column for joining an entity association or element collection . A container annotation ... the mapping for an EmbeddedId primary key or a simple parent key. Collection and map specifics Configure mappings for collections and map key columns: Specifies the table that is used for the mapping | |
WHERE clause (JPQL / Criteria API) to the SELECT clause to be collected as query results, the WHERE clause acts as a filter. The boolean ... and collected as query results. WHERE predicate and indexes Formally, the WHERE clause functions as a filter ... ) and functions (numeric, string, and collection ). The WHERE predicate is always a boolean JPQL expression | |
Database Schema Evolution to any other date/time type. From any collection or array type to any other collection or array type ... to any collection or array that can contain that object as an element. From any map type to any | |
JPA Shared (L2) Entity Cache Every EntityManager has a persistence context , which is a collection of all the entities ... (MyEntity2.class, Long.valueOf(1), Collections . singletonMap( "jakarta.persistence.cache.retrieveMode ... (MyEntity2.class, Long.valueOf(1), Collections . singletonMap( "jakarta.persistence.cache.storeMode | |
ObjectDB Object Database Features ) indices. Collection and array elements are indexable (extremely fast JOIN queries). Map keys ... .BigInteger and java.lang.BigDecimal. Collection types : Collection , List, Set, ArrayList, Vector | |
jakarta.persistence.criteria.CriteriaBuilder. Since: Jakarta Persistence (JPA) 3.2 Predicate isEmpty ( Expression collection ) Create a predicate that tests whether a collection is empty. Parameters: collection - expression Returns: is-empty ... Persistence (JPA) 1.0 Predicate isMember ( Expression elem , Expression collection ) Create a predicate | |
jakarta.persistence.criteria.CollectionJoin: - the source type of the join - the element type of the target Collection Super Interfaces ... interface is the type of the result of joining to a collection over an association or element collection that has been specified as a Collection . Since: Jakarta Persistence (JPA) 2.0 Public Instance | |
jakarta.persistence.criteria.PluralJoin: - the source type - the element type of the collection - the collection type Super Interfaces: Join ... functionality that is common to joins to all collection types. It is not intended to be used directly in ... to the specified collection -valued attribute using an inner join. Inherited from FetchParent Parameters | |
SELECT clause (JPQL / Criteria API) only single-valued path expressions in the SELECT clause. Collection and map fields cannot be included ... (for example, an entity class) or a lightweight "transfer" class that is used only for collecting | |
Detached JPA Entities, which can be a single entity or a collection of entities: @Entity class Employee { : @OneToOne ( cascade ... a collection of entities: @Entity class Employee { : @OneToOne ( cascade = CascadeType . MERGE ) private | |
JPA Attributes Annotations. The embedded state is stored in the same table as the owning entity. Specifies a collection field or property as an attribute containing a collection of embedded objects. This is used for "one-to-many | |
JPA Query Expressions (JPQL / Criteria) : = , , = , IS [NOT] NULL , [NOT] BETWEEN Collection operators: [NOT] IN , IS [NOT] EMPTY , [NOT] MEMBER ... expressions ( currentDate , currentTime , currentTimestamp ) Collection expressions ( isEmpty | |
Index Definition to an entity Arrays and collections that contain values of the above types, including null You can define ... a collection , so the index maintains multiple values for each entity. Multi-part paths in a composite | |
What are the main benefits of using ObjectDB? the execution time of object oriented applications significantly. For instance, collection and map ... multiple values (even for a simple data structure such as a collection of strings). In addition | |
Deleting JPA Entities, non-shared dependent objects. You can also set orphan removal for collection and map fields ... this case, removing an Address object from the collection automatically removes that object from | |
JPA Metamodel API"); The ManagedType interface defines additional methods to return attributes of Collection , List , Set ... attributes of Collection types. SetAttribute : Represents attributes of Set types. ListAttribute | |
Updating JPA Entities changes by using snapshots, even when enhanced entity classes are in use. We recommend using collections rather than arrays when you use JPA. Collections are more portable across ORM JPA implementations | |
JPA Criteria FROM and JOIN for joining to a collection attribute (one-to-many or many-to-many associations). Represents a join to an association typed as a java.util. Collection . Represents a join to an association typed as a java | |
jakarta.persistence.criteria.ListJoin of the result of joining to a collection over an association or element collection ... to the specified collection -valued attribute using an inner join. Inherited from FetchParent Parameters: attribute ... ( PluralAttribute attribute , JoinType jt ) Create a fetch join to the specified collection -valued | |
jakarta.persistence.criteria.MapJoin The MapJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a Map . Since: Jakarta Persistence (JPA) 2.0 Public Instance ... collection -valued attribute using an inner join. Inherited from FetchParent Parameters: attribute | |
jakarta.persistence.criteria.SetJoin of the result of joining to a collection over an association or element collection ... collection -valued attribute using an inner join. Inherited from FetchParent Parameters: attribute ... ( PluralAttribute attribute , JoinType jt ) Create a fetch join to the specified collection -valued | |
jakarta.persistence.criteria.From, embeddables, and collections belonging to the type, and for Path s of attributes belonging ... (JPA) 1.0 Fetch fetch ( PluralAttribute attribute ) Create a fetch join to the specified collection ... ( PluralAttribute attribute , JoinType jt ) Create a fetch join to the specified collection -valued attribute using | |
jakarta.persistence.criteria.Root attribute ) Create a fetch join to the specified collection -valued attribute using an inner join. Inherited ... join to the specified collection -valued attribute using the given join type. Inherited from ... collection ) Create a path corresponding to the referenced collection -valued attribute. Inherited from | |
jakarta.persistence.criteria.Join ) Create a fetch join to the specified collection -valued attribute using an inner join. Inherited ... to the specified collection -valued attribute using the given join type. Inherited from FetchParent ... to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0 Expression get ( PluralAttribute collection | |
Storing JPA Entities operations are automatically cascaded to entities that are referenced by that field. A collection field | |
Numbers in JPQL and Criteria Queries Numeric values can appear in JPQL queries in several forms: As numeric literals , such as 123 and -12.5 . As parameters that are bound to numeric arguments. As path expressions that navigate to persistent numeric fields. As aggregate expressions , such as COUNT . As collection functions | |
JPA Class Enhancer. Without enhancement, only persistent collection and map fields can be loaded lazily (by using proxy objects | |
Obtaining a JPA Database Connection . Database updates are collected and managed in memory and are then applied to the database | |
JPA Metamodel and Graphs and properties), covering singular, plural ( collection ), and map attributes. For detailed examples | |
Eclipse Public License - v 1.0 ( collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party | |
Paths and Types in JPQL and Criteria API to collections , maps, or values of simple types (such as numbers, booleans, strings, and dates). For a path | |
JPA Criteria API Queries , ...) Collection expressions ( isEmpty , isNotEmpty , isMember , isNotMember , size ) Comparison expressions | |
Managing JPA Entities an EntityManager . Persistence context The persistence context is the collection of all managed objects | |
JPA Primary Key and can be collected by accessing a minimum number of database pages. On the other hand, such a primary | |
jakarta.persistence.Convert may be applied to: a basic attribute, or a collection attribute of any type other than Map , in which case the converter is applied to the elements of the collection . In these cases, the attributeName ... , a collection attribute whose element type is an embeddable type, in which case the converter is applied | |
jakarta.persistence.criteria.Path or compound attribute path from a bound type or collection , and is a "primitive" expression ... collection ) Create a path corresponding to the referenced collection -valued attribute. Parameters: collection - collection -valued attribute Returns: expression corresponding to the referenced attribute | |
jakarta.persistence.metamodel.PluralAttribute: - The type the represented collection belongs to - The element type of the represented collection - The type of the represented collection Super Interfaces: Attribute , Bindable Instances of the type PluralAttribute represent persistent collection -valued attributes. Since: Jakarta Persistence (JPA |