About collection

11-20 of 200Refresh
JPA Doc
86

isNotEmpty(collection)

Method javax.persistence.criteria.CriteriaBuilder Predicate isNotEmpty(   Expression collection ) Create a predicate that tests whether a collection is not empty. Parameters: collection - expression Returns: is-not-empty predicate Since: JPA 2.0
JPA Doc
86

join(collection)

Method javax.persistence.criteria.From CollectionJoin join(   CollectionAttribute collection ) Create an inner join to the specified Collection-valued attribute. Parameters: collection - target of the join Returns: the resulting join Since: JPA 2.0
JPA Doc
86

join(collection, jt)

Method javax.persistence.criteria.From CollectionJoin join(   CollectionAttribute collection,   JoinType jt ) Create a join to the specified Collection-valued attribute using the given join type. Parameters: collection - target of the join jt - join type Returns: the resulting join Since: JPA 2.0
JPA Doc
86

size(collection)

Method javax.persistence.criteria.CriteriaBuilder Expression size(   Expression collection ) Create an expression that tests the size of a collection. Parameters: collection - expression Returns: size expression Since: JPA 2.0
JPA Doc
86

Attribute.PersistentAttributeType.ELEMENT_COLLECTION

Enum Constant javax.persistence.metamodel.Attribute.PersistentAttributeType ELEMENT_COLLECTION Element collection Since: JPA 2.0
JPA Doc
86

PluralAttribute.CollectionType.COLLECTION

Enum Constant javax.persistence.metamodel.PluralAttribute.CollectionType COLLECTION Collection-valued attribute Since: JPA 2.0
JDO Doc
85

Constants.OPTION_NULL_COLLECTION

Static Field javax.jdo.Constants String OPTION_NULL_COLLECTION "javax.jdo.option.NullCollection" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
Forum
31

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 ... If it is a bidirectional relationship that is owned by the entities in the collection (i.e. the collection
Forum
30

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 ... 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 for equality. The hash
Forum
30

Using Scala collections with ObjectDB

Hi, I cannot see that it is possible to make scala collection classes persistable within ObjectDB ... .collection._  api for it to work ? (http://www.scala-lang.org/docu/files/collections-api/collections.html)   /Peter   You are right - Scala collections require some special handling, which is not