About member

release

2.3.5

... Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of ...

 
api-jpa

in(values)

Create a predicate to test whether the expression is a member of the collection.(Method of javax.persistence.criteria.Expression<T>)

 
api-jdo

FetchGroup.RELATIONSHIP

For use with addCategory and removeCategory calls.(Static Field of javax.jdo.FetchGroup)

 
forum_thread

Navigation through Path to evaluate collection

Hello, I need to evaluate a field ("identifier") which is situated in a collection, within an entity. As stated in the documentation it is not possible to navigate there with the dot operator since its a collection. Is it there a way to evaluate this field? Here is the query, the entity and the related embeddable class. Thanks ... "WHERE item.sku =: key " + "OR id MEMBER OF :item.apiId.identifier " + "ORDER BY item.sku DESC" ...

 
issue

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I do not get an exception if I: Bug Version: 2.3.0 Priority: Normal Status: Fixed Replies: 3 Type:  Bug ...

 
api-jpa

javax.persistence.metamodel.Attribute

Represents an attribute of a Java type.(Interface of JPA)

 
api-jdo

Persistent.nullIndicatorColumn

Null indicator column for this member.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jpa

isMember(elem, collection)

Create a predicate that tests whether an element is a member of a collection.(Method of javax.persistence.criteria.CriteriaBuilder)

 
forum_thread

Query to find object from element of a contained collection

I have an OrderData class, containing an ItemData collection, i would like to find OrderData elements by ItemData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks.   ... I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as ...

 
api-jpa

javax.persistence.metamodel.CollectionAttribute

Instances of the type CollectionAttribute represent persistent java.util.Collection-valued attributes.(Interface of JPA)