ObjectDB Database Search
1-50 of 200 resultsCollections in JPQL and Criteria Queries Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY The IS [NOT] EMPTY operator checks whether a specified collection is empty or not. For example: c.languages | |
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 ... : Collection types from package java.util : ArrayList , Vector , Stack , LinkedList , ArrayDeque ... dimensional arrays). Both generic (e.g. ArrayList ) and non generic (e.g. ArrayList ) collection | |
Database Explorer). An entity object can be specified by type and primary key separated by # (e.g. Point#1). A collection ... with the query results, and the size of the result collection and the query execution time ... the object itself from the database. Editing Collections Elements can be added to collections by using | |
Optimistic locking: prevent version increment on entity collection attribute Hello, I have an entity E with an attribute which is a collection of entities (one to many ... the increment of the version of entity E when entities are added to or removed from the collection ... Farid Oudjane If it is a bidirectional relationship that is owned by the entities in the collection | |
Query to search for common elements in two separate collections. I'm trying to work out the most efficient way to build a query that can compare two collections ... efficient way is to use some sort of hash function for the collections and to retrieve candidate collections by identical hash code. Candidate collections should then be further filtered by checking | |
Using Scala collections with ObjectDB Hi, I cannot see that it is possible to make scala collection classes persistable ... of the scala. collection ._ api for it to work ? (http://www.scala-lang.org/docu/files/ collections -api/ collections .html) /Peter lsPeter Peter You are right - Scala collections | |
collection of embedded objects 1. In general, are there any restrictions of the use of @Embedded objects in collections , compared to @Entity ? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity , does the remove cascade through the whole collection ? 3. Is searching | |
Retrieving JPA Entity Objects collection and map persistent fields (i.e. through one-to-one and many-to-one relationships ... navigation through non collection and map persistent fields are also retrieved. Theoretically, in some ... ) private Employee manager; : } The default for non collection and map references is FetchType . EAGER | |
Path | |
CriteriaBuilder.isNotMember(elem,collection) - JPA Method elem, Expression collection ) Create a predicate that tests whether an element is not a member of a collection . If the collection is empty, the predicate will be true. Parameters: elem - element collection - expression Return: is-not-member predicate Since: JPA 2.0 | |
CriteriaBuilder.isNotMember(elem,collection) - JPA Method; Expression elem, Expression collection ) Create a predicate that tests whether an element is not a member of a collection . If the collection is empty, the predicate will be true. Parameters: elem - element expression collection - expression Return: is-not-member predicate Since: JPA 2.0 | |
CriteriaBuilder.isMember(elem,collection) - JPA Method;elem, Expression collection ) Create a predicate that tests whether an element is a member of a collection . If the collection is empty, the predicate will be false. Parameters: elem - element collection - expression Return: is-member predicate Since: JPA 2.0 | |
CriteriaBuilder.size(collection) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression size ( C collection ) Create an expression that tests the size of a collection . Parameters: collection - collection Return: size expression Since: JPA 2.0 | |
CriteriaBuilder.isMember(elem,collection) - JPA Method; Expression elem, Expression collection ) Create a predicate that tests whether an element is a member of a collection . If the collection is empty, the predicate will be false. Parameters: elem - element expression collection - expression Return: is-member predicate Since: JPA 2.0 | |
From | |
From | |
CriteriaBuilder.isEmpty(collection) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isEmpty ( Expression collection ) Create a predicate that tests whether a collection is empty. Parameters: collection - expression Return: is-empty predicate Since: JPA 2.0 | |
CriteriaBuilder.isNotEmpty(collection) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isNotEmpty ( Expression collection ) Create a predicate that tests whether a collection is not empty. Parameters: collection - expression Return: is-not-empty predicate Since: JPA 2.0 | |
CriteriaBuilder.size(collection) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression size ( Expression collection ) Create an expression that tests the size of a collection . Parameters: collection - expression Return: size expression Since: JPA 2.0 | |
javax.persistence.metamodel.Attribute | |
javax.persistence.metamodel.PluralAttribute | |
JPA Entity Fields - for references of entity types. OneToMany , ManyToMany - for collections and maps of entity types ... fields are essential for collection fields when using ORM JPA implementations, but not when using ... may improve efficiency when managing very large collections that are changed | |
FROM clause (JPQL / Criteria API) collection of the outer c1 . In this case, by propagation of a WHERE constraint to the FROM phase ... 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 neighbors query | |
Running JPA Queries and the warning is avoided. The query result collection functions as any other ordinary Java collection . For example, a result collection of a parameterized type can be iterated easily using an enhanced ... collection after query execution (e.g. by results.get(0) ). To eliminate this routine operation JPA | |
WHERE clause (JPQL / Criteria API) objects to the SELECT clause for collecting as query results, the WHERE clause gets an opportunity ... evaluates to TRUE are passed to the SELECT clause and then collected as query results. WHERE Predicate ... ) and functions (numeric functions, string functions, collection functions). The WHERE predicate | |
Database Schema Evolution (when applicable). From any date type to any date type. From any collection or array type to any collection or array type, as long as the elements are convertible (e.g. from int[] to ArrayList ). From any object to any collection or array that can contain that object as en element. From any map | |
Deleting JPA Entity Objects can be referenced by a collection field): @Entity class Employee { : @OneToOne ( cascade ... for collection and map fields. For example: @Entity class Employee { : @OneToMany ( orphanRemoval =true) private List addresses; : } In this case, removal of an Address object from the collection leads | |
Shared (L2) Entity Cache Every EntityManager owns a persistence context , which is a collection of all the entity objects ... and primary key: em. find (MyEntity2.class, Long.valueOf(1), Collections ... operation. For example: em. find (MyEntity2.class, Long.valueOf(1), Collections . singletonMap | |
ObjectDB Object Database Features ( composite ) indices. Collection and array elements are indexable (extremely fast JOIN queries ... : java.lang.BigInteger and java.lang.BigDecimal. Collection types : Collection , List, Set,  | |
SELECT clause (JPQL / Criteria API) value path expressions can be used in the SELECT clause. Collection and map fields cannot be included ... for collecting and processing query results. If an entity class is used as a result class, the result entity | |
Detached Entity Objects objects that are referenced by that field (multiple entity objects can be referenced by a collection ... can be referenced by a collection field): @Entity class Employee { : @OneToOne ( cascade = CascadeType . MERGE | |
JPA Query Expressions (JPQL / Criteria) : =, , =, IS [NOT] NULL, [NOT] BETWEEN, including Collection operators: [NOT] IN, IS [NOT] EMPTY ... , substring, ... ). Data expressions ( currentDate , currentTime , currentTimestamp ). Collection | |
Index Definition , java.sql.Timestamp. Any enum type. Reference to an entity object. Arrays and collections that contain ... a collection , so multiple values will be maintained by the index for every entity. Multi part paths in | |
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 | |
JPA Metamodel API in ManagedType to return attributes of Collection , List , Set a Map types in a type safe ... : CollectionAttribute - represents attributes of Collection types. SetAttribute - represents attributes | |
Updating JPA Entity Objects. It is usually recommended to use collections rather than arrays when using JPA. Collections | |
Storing JPA Entity Objects that field (multiple entity objects can be referenced by a collection field): @Entity class Employee | |
Numbers in JPQL and Criteria Queries Numeric values may appear in JPQL queries in many forms: as numeric literals - e.g. 123 , -12.5 . as parameters - when numeric values are assigned as arguments. as path expressions - in navigation to persistent numeric fields. as aggregate expressions - e.g. COUNT. as collection | |
JPA Class Enhancer loading of entity objects. With no enhancement, only persistent collection and map fields | |
Obtaining a JPA Database Connection content, such as persist and remove . Database updates are collected and managed in memory and applied | |
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 persistable class. The dot (.) operator cannot be applied to collections , maps and values of simple | |
JPA Criteria API Queries , ...). Collection expressions ( isEmpty , isNotEmpty , isMember , isNotMember , size | |
ORDER BY clause (JPQL / Criteria API) produces objects for examination and the WHERE clause selects which objects to collect as results | |
Working with JPA Entity Objects. The Persistence Context The persistence context is the collection of all the managed objects | |
JPA Primary Key during a period of time are stored continuously and can be collected by accessing a minimum number of database | |
javax.persistence.criteria.CriteriaBuilder; collection ) Create a predicate that tests whether a collection is empty. Parameters: collection ... Since: JPA 2.0 Predicate isMember (E elem, Expression collection ) Create a predicate that tests whether an element is a member of a collection . If the collection is empty, the predicate | |
javax.jdo.PersistenceManager might be garbage collected , at the option of the JDO implementation. Before being used ... . Parameters: pc - a persistent instance Since: JDO 1.0 void deletePersistentAll ( Collection pcs) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent | |
javax.jdo.Query. There are three required elements in a Query : the class of the results, the candidate collection ... of the subquery candidateCollectionExpression - the candidate collection of the subquery as an expression using ... to be used in this Query candidateCollectionExpression - the candidate collection to apply |